


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <link rel="icon" type="image/vnd.microsoft.icon" href="http://www.gstatic.com/codesite/ph/images/phosting.ico">
 
 <script type="text/javascript">
 
 
 
 var codesite_token = "e9b75cfde2ab46a71c1ae7bb79c1738d";
 
 
 var logged_in_user_email = "shangxindu@gmail.com";
 
 
 var relative_base_url = "";
 
 </script>
 
 
 <title>lookupfile.vim - 
 dennisvim -
 
 Project Hosting on Google Code</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/11982002900633812604/css/ph_core.css">
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/11982002900633812604/css/ph_detail.css" >
 
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/11982002900633812604/css/d_sb_20080522.css" >
 
 
 
<!--[if IE]>
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/11982002900633812604/css/d_ie.css" >
<![endif]-->
 <style type="text/css">
 .menuIcon.off { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -42px }
 .menuIcon.on { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -28px }
 .menuIcon.down { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 0; }
 </style>
</head>
<body class="t4">
 <script type="text/javascript">
 var _gaq = _gaq || [];
 _gaq.push(
 ['siteTracker._setAccount', 'UA-18071-1'],
 ['siteTracker._trackPageview']);
 
 (function() {
 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
 })();
 </script>
 <div id="gaia">
 
 <span>
 
 
 <b>shangxindu@gmail.com</b>
 
 
 
 | <a href="/u/shangxindu/" id="projects-dropdown" onclick="return false;"
 ><u>My favorites</u> <small>&#9660;</small></a>
 
 | <a href="/u/shangxindu/" onclick="_CS_click('/gb/ph/profile');" 
 title="Profile, Updates, and Settings"
 ><u>Profile</u></a>
 | <a href="https://www.google.com/accounts/Logout?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fdennisvim%2Fsource%2Fbrowse%2Ftrunk%2Fautoload%2Flookupfile.vim" 
 onclick="_CS_click('/gb/ph/signout');"
 ><u>Sign out</u></a>
 
 </span>

 </div>
 <div class="gbh" style="left: 0pt;"></div>
 <div class="gbh" style="right: 0pt;"></div>
 
 
 <div style="height: 1px"></div>
<!--[if IE 6]>
<div style="text-align:center;">
Support browsers that contribute to open source, try <a href="http://www.firefox.com">Firefox</a> or <a href="http://www.google.com/chrome">Google Chrome</a>.
</div>
<![endif]-->



 <table style="padding:0px; margin: 20px 0px 0px 0px; width:100%" cellpadding="0" cellspacing="0">
 <tr style="height: 58px;">
 
 <td style="width: 55px; text-align:center;">
 <a href="/p/dennisvim/">
 
 
 <img src="http://www.gstatic.com/codesite/ph/images/defaultlogo.png" alt="Logo">
 
 
 </a>
 </td>
 
 <td style="padding-left: 0.5em">
 
 <div id="pname" style="margin: 0px 0px -3px 0px">
 <a href="/p/dennisvim/" style="text-decoration:none; color:#000">dennisvim</a>
 
 </div>
 <div id="psum">
 <i><a id="project_summary_link" href="/p/dennisvim/" style="text-decoration:none; color:#000">vim config</a></i>
 </div>
 
 </td>
 <td style="white-space:nowrap;text-align:right">
 <form action="/hosting/search">
 <input size="30" name="q" value="">
 <input type="submit" name="projectsearch" value="Search projects" >
 </form>
 </tr>
 </table>


 
<table id="mt" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/">Project&nbsp;Home</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/downloads/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/downloads/list">Downloads</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/w/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/w/list">Wiki</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/issues/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/issues/list">Issues</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/source/checkout');">
 <div class="tab active">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/source/checkout">Source</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 <th onclick="if (!cancelBubble) _go('/p/dennisvim/admin');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/dennisvim/admin">Administer</a>
 </div>
 </div>
 </th>
 <td width="100%">&nbsp;</td>
 </tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" class="st">
 <tr>
 
 
 
 
 
 
 <td>
 <div class="st2">
 <div class="isf">
 
 
 
 <span class="inst1"><a href="/p/dennisvim/source/checkout">Checkout</a></span> |
 <span class="inst2"><a href="/p/dennisvim/source/browse/">Browse</a></span> |
 <span class="inst3"><a href="/p/dennisvim/source/list">Changes</a></span> |
 
 <form action="http://www.google.com/codesearch" method="get" style="display:inline"
 onsubmit="document.getElementById('codesearchq').value = document.getElementById('origq').value + ' package:http://dennisvim\\.googlecode\\.com'">
 <input type="hidden" name="q" id="codesearchq" value="">
 <input maxlength="2048" size="38" id="origq" name="origq" value="" title="Google Code Search" style="font-size:92%">&nbsp;<input type="submit" value="Search Trunk" name="btnG" style="font-size:92%">
 
  |
 <a href="/p/dennisvim/issues/entry?show=review&former=sourcelist">Request code review</a>
 
 
 </form>
 </div>
</div>

 </td>
 
 
 
 <td height="4" align="right" valign="top" class="bevel-right">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 </td>
 </tr>
</table>
<script type="text/javascript">
 var cancelBubble = false;
 function _go(url) { document.location = url; }
</script>


<div id="maincol"
 
>

 
<!-- IE -->




<div class="expand">


<style type="text/css">
 #file_flipper { display: inline; float: right; white-space: nowrap; }
 #file_flipper.hidden { display: none; }
 #file_flipper .pagelink { color: #0000CC; text-decoration: underline; }
 #file_flipper #visiblefiles { padding-left: 0.5em; padding-right: 0.5em; }
</style>
<div id="nav_and_rev" class="heading">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner" id="bub">
 <div class="bub-top">
 <div class="pagination" style="margin-left: 2em">
 <table cellpadding="0" cellspacing="0" class="flipper">
 <tbody>
 <tr>
 
 <td><b>r25</b></td>
 
 </tr>
 </tbody>
 </table>
 </div>
 
 <div class="" style="vertical-align: top">
 <div class="src_crumbs src_nav">
 <strong class="src_nav">Source path:&nbsp;</strong>
 <span id="crumb_root">
 
 <a href="/p/dennisvim/source/browse/">svn</a>/&nbsp;</span>
 <span id="crumb_links" class="ifClosed"><a href="/p/dennisvim/source/browse/trunk/">trunk</a><span class="sp">/&nbsp;</span><a href="/p/dennisvim/source/browse/trunk/autoload/">autoload</a><span class="sp">/&nbsp;</span>lookupfile.vim</span>
 
 
 </div>
 
 </div>
 <div style="clear:both"></div>
 </div>
 </div>
</div>

<style type="text/css">
 
  tr.inline_comment {
 background: #fff;
 vertical-align: top;
 }
 div.draft, div.published {
 padding: .3em;
 border: 1px solid #999; 
 margin-bottom: .1em;
 font-family: arial, sans-serif;
 max-width: 60em;
 }
 div.draft {
 background: #ffa;
 } 
 div.published {
 background: #e5ecf9;
 }
 div.published .body, div.draft .body {
 padding: .5em .1em .1em .1em;
 max-width: 60em;
 white-space: pre-wrap;
 white-space: -moz-pre-wrap;
 white-space: -pre-wrap;
 white-space: -o-pre-wrap;
 word-wrap: break-word;
 }
 div.draft .actions {
 margin-left: 1em;
 font-size: 90%;
 }
 div.draft form {
 padding: .5em .5em .5em 0;
 }
 div.draft textarea, div.published textarea {
 width: 95%;
 height: 10em;
 font-family: arial, sans-serif;
 margin-bottom: .5em;
 }


 
 .nocursor, .nocursor td, .cursor_hidden, .cursor_hidden td {
 background-color: white;
 height: 2px;
 }
 .cursor, .cursor td {
 background-color: darkblue;
 height: 2px;
 display: '';
 }

</style>
<div class="fc">
 


<table class="opened" id="review_comment_area"><tr>
<td id="nums">
<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>

<pre><table width="100%"><tr id="gr_svn3_1"><td id="1"><a href="#1">1</a></td></tr
><tr id="gr_svn3_2"><td id="2"><a href="#2">2</a></td></tr
><tr id="gr_svn3_3"><td id="3"><a href="#3">3</a></td></tr
><tr id="gr_svn3_4"><td id="4"><a href="#4">4</a></td></tr
><tr id="gr_svn3_5"><td id="5"><a href="#5">5</a></td></tr
><tr id="gr_svn3_6"><td id="6"><a href="#6">6</a></td></tr
><tr id="gr_svn3_7"><td id="7"><a href="#7">7</a></td></tr
><tr id="gr_svn3_8"><td id="8"><a href="#8">8</a></td></tr
><tr id="gr_svn3_9"><td id="9"><a href="#9">9</a></td></tr
><tr id="gr_svn3_10"><td id="10"><a href="#10">10</a></td></tr
><tr id="gr_svn3_11"><td id="11"><a href="#11">11</a></td></tr
><tr id="gr_svn3_12"><td id="12"><a href="#12">12</a></td></tr
><tr id="gr_svn3_13"><td id="13"><a href="#13">13</a></td></tr
><tr id="gr_svn3_14"><td id="14"><a href="#14">14</a></td></tr
><tr id="gr_svn3_15"><td id="15"><a href="#15">15</a></td></tr
><tr id="gr_svn3_16"><td id="16"><a href="#16">16</a></td></tr
><tr id="gr_svn3_17"><td id="17"><a href="#17">17</a></td></tr
><tr id="gr_svn3_18"><td id="18"><a href="#18">18</a></td></tr
><tr id="gr_svn3_19"><td id="19"><a href="#19">19</a></td></tr
><tr id="gr_svn3_20"><td id="20"><a href="#20">20</a></td></tr
><tr id="gr_svn3_21"><td id="21"><a href="#21">21</a></td></tr
><tr id="gr_svn3_22"><td id="22"><a href="#22">22</a></td></tr
><tr id="gr_svn3_23"><td id="23"><a href="#23">23</a></td></tr
><tr id="gr_svn3_24"><td id="24"><a href="#24">24</a></td></tr
><tr id="gr_svn3_25"><td id="25"><a href="#25">25</a></td></tr
><tr id="gr_svn3_26"><td id="26"><a href="#26">26</a></td></tr
><tr id="gr_svn3_27"><td id="27"><a href="#27">27</a></td></tr
><tr id="gr_svn3_28"><td id="28"><a href="#28">28</a></td></tr
><tr id="gr_svn3_29"><td id="29"><a href="#29">29</a></td></tr
><tr id="gr_svn3_30"><td id="30"><a href="#30">30</a></td></tr
><tr id="gr_svn3_31"><td id="31"><a href="#31">31</a></td></tr
><tr id="gr_svn3_32"><td id="32"><a href="#32">32</a></td></tr
><tr id="gr_svn3_33"><td id="33"><a href="#33">33</a></td></tr
><tr id="gr_svn3_34"><td id="34"><a href="#34">34</a></td></tr
><tr id="gr_svn3_35"><td id="35"><a href="#35">35</a></td></tr
><tr id="gr_svn3_36"><td id="36"><a href="#36">36</a></td></tr
><tr id="gr_svn3_37"><td id="37"><a href="#37">37</a></td></tr
><tr id="gr_svn3_38"><td id="38"><a href="#38">38</a></td></tr
><tr id="gr_svn3_39"><td id="39"><a href="#39">39</a></td></tr
><tr id="gr_svn3_40"><td id="40"><a href="#40">40</a></td></tr
><tr id="gr_svn3_41"><td id="41"><a href="#41">41</a></td></tr
><tr id="gr_svn3_42"><td id="42"><a href="#42">42</a></td></tr
><tr id="gr_svn3_43"><td id="43"><a href="#43">43</a></td></tr
><tr id="gr_svn3_44"><td id="44"><a href="#44">44</a></td></tr
><tr id="gr_svn3_45"><td id="45"><a href="#45">45</a></td></tr
><tr id="gr_svn3_46"><td id="46"><a href="#46">46</a></td></tr
><tr id="gr_svn3_47"><td id="47"><a href="#47">47</a></td></tr
><tr id="gr_svn3_48"><td id="48"><a href="#48">48</a></td></tr
><tr id="gr_svn3_49"><td id="49"><a href="#49">49</a></td></tr
><tr id="gr_svn3_50"><td id="50"><a href="#50">50</a></td></tr
><tr id="gr_svn3_51"><td id="51"><a href="#51">51</a></td></tr
><tr id="gr_svn3_52"><td id="52"><a href="#52">52</a></td></tr
><tr id="gr_svn3_53"><td id="53"><a href="#53">53</a></td></tr
><tr id="gr_svn3_54"><td id="54"><a href="#54">54</a></td></tr
><tr id="gr_svn3_55"><td id="55"><a href="#55">55</a></td></tr
><tr id="gr_svn3_56"><td id="56"><a href="#56">56</a></td></tr
><tr id="gr_svn3_57"><td id="57"><a href="#57">57</a></td></tr
><tr id="gr_svn3_58"><td id="58"><a href="#58">58</a></td></tr
><tr id="gr_svn3_59"><td id="59"><a href="#59">59</a></td></tr
><tr id="gr_svn3_60"><td id="60"><a href="#60">60</a></td></tr
><tr id="gr_svn3_61"><td id="61"><a href="#61">61</a></td></tr
><tr id="gr_svn3_62"><td id="62"><a href="#62">62</a></td></tr
><tr id="gr_svn3_63"><td id="63"><a href="#63">63</a></td></tr
><tr id="gr_svn3_64"><td id="64"><a href="#64">64</a></td></tr
><tr id="gr_svn3_65"><td id="65"><a href="#65">65</a></td></tr
><tr id="gr_svn3_66"><td id="66"><a href="#66">66</a></td></tr
><tr id="gr_svn3_67"><td id="67"><a href="#67">67</a></td></tr
><tr id="gr_svn3_68"><td id="68"><a href="#68">68</a></td></tr
><tr id="gr_svn3_69"><td id="69"><a href="#69">69</a></td></tr
><tr id="gr_svn3_70"><td id="70"><a href="#70">70</a></td></tr
><tr id="gr_svn3_71"><td id="71"><a href="#71">71</a></td></tr
><tr id="gr_svn3_72"><td id="72"><a href="#72">72</a></td></tr
><tr id="gr_svn3_73"><td id="73"><a href="#73">73</a></td></tr
><tr id="gr_svn3_74"><td id="74"><a href="#74">74</a></td></tr
><tr id="gr_svn3_75"><td id="75"><a href="#75">75</a></td></tr
><tr id="gr_svn3_76"><td id="76"><a href="#76">76</a></td></tr
><tr id="gr_svn3_77"><td id="77"><a href="#77">77</a></td></tr
><tr id="gr_svn3_78"><td id="78"><a href="#78">78</a></td></tr
><tr id="gr_svn3_79"><td id="79"><a href="#79">79</a></td></tr
><tr id="gr_svn3_80"><td id="80"><a href="#80">80</a></td></tr
><tr id="gr_svn3_81"><td id="81"><a href="#81">81</a></td></tr
><tr id="gr_svn3_82"><td id="82"><a href="#82">82</a></td></tr
><tr id="gr_svn3_83"><td id="83"><a href="#83">83</a></td></tr
><tr id="gr_svn3_84"><td id="84"><a href="#84">84</a></td></tr
><tr id="gr_svn3_85"><td id="85"><a href="#85">85</a></td></tr
><tr id="gr_svn3_86"><td id="86"><a href="#86">86</a></td></tr
><tr id="gr_svn3_87"><td id="87"><a href="#87">87</a></td></tr
><tr id="gr_svn3_88"><td id="88"><a href="#88">88</a></td></tr
><tr id="gr_svn3_89"><td id="89"><a href="#89">89</a></td></tr
><tr id="gr_svn3_90"><td id="90"><a href="#90">90</a></td></tr
><tr id="gr_svn3_91"><td id="91"><a href="#91">91</a></td></tr
><tr id="gr_svn3_92"><td id="92"><a href="#92">92</a></td></tr
><tr id="gr_svn3_93"><td id="93"><a href="#93">93</a></td></tr
><tr id="gr_svn3_94"><td id="94"><a href="#94">94</a></td></tr
><tr id="gr_svn3_95"><td id="95"><a href="#95">95</a></td></tr
><tr id="gr_svn3_96"><td id="96"><a href="#96">96</a></td></tr
><tr id="gr_svn3_97"><td id="97"><a href="#97">97</a></td></tr
><tr id="gr_svn3_98"><td id="98"><a href="#98">98</a></td></tr
><tr id="gr_svn3_99"><td id="99"><a href="#99">99</a></td></tr
><tr id="gr_svn3_100"><td id="100"><a href="#100">100</a></td></tr
><tr id="gr_svn3_101"><td id="101"><a href="#101">101</a></td></tr
><tr id="gr_svn3_102"><td id="102"><a href="#102">102</a></td></tr
><tr id="gr_svn3_103"><td id="103"><a href="#103">103</a></td></tr
><tr id="gr_svn3_104"><td id="104"><a href="#104">104</a></td></tr
><tr id="gr_svn3_105"><td id="105"><a href="#105">105</a></td></tr
><tr id="gr_svn3_106"><td id="106"><a href="#106">106</a></td></tr
><tr id="gr_svn3_107"><td id="107"><a href="#107">107</a></td></tr
><tr id="gr_svn3_108"><td id="108"><a href="#108">108</a></td></tr
><tr id="gr_svn3_109"><td id="109"><a href="#109">109</a></td></tr
><tr id="gr_svn3_110"><td id="110"><a href="#110">110</a></td></tr
><tr id="gr_svn3_111"><td id="111"><a href="#111">111</a></td></tr
><tr id="gr_svn3_112"><td id="112"><a href="#112">112</a></td></tr
><tr id="gr_svn3_113"><td id="113"><a href="#113">113</a></td></tr
><tr id="gr_svn3_114"><td id="114"><a href="#114">114</a></td></tr
><tr id="gr_svn3_115"><td id="115"><a href="#115">115</a></td></tr
><tr id="gr_svn3_116"><td id="116"><a href="#116">116</a></td></tr
><tr id="gr_svn3_117"><td id="117"><a href="#117">117</a></td></tr
><tr id="gr_svn3_118"><td id="118"><a href="#118">118</a></td></tr
><tr id="gr_svn3_119"><td id="119"><a href="#119">119</a></td></tr
><tr id="gr_svn3_120"><td id="120"><a href="#120">120</a></td></tr
><tr id="gr_svn3_121"><td id="121"><a href="#121">121</a></td></tr
><tr id="gr_svn3_122"><td id="122"><a href="#122">122</a></td></tr
><tr id="gr_svn3_123"><td id="123"><a href="#123">123</a></td></tr
><tr id="gr_svn3_124"><td id="124"><a href="#124">124</a></td></tr
><tr id="gr_svn3_125"><td id="125"><a href="#125">125</a></td></tr
><tr id="gr_svn3_126"><td id="126"><a href="#126">126</a></td></tr
><tr id="gr_svn3_127"><td id="127"><a href="#127">127</a></td></tr
><tr id="gr_svn3_128"><td id="128"><a href="#128">128</a></td></tr
><tr id="gr_svn3_129"><td id="129"><a href="#129">129</a></td></tr
><tr id="gr_svn3_130"><td id="130"><a href="#130">130</a></td></tr
><tr id="gr_svn3_131"><td id="131"><a href="#131">131</a></td></tr
><tr id="gr_svn3_132"><td id="132"><a href="#132">132</a></td></tr
><tr id="gr_svn3_133"><td id="133"><a href="#133">133</a></td></tr
><tr id="gr_svn3_134"><td id="134"><a href="#134">134</a></td></tr
><tr id="gr_svn3_135"><td id="135"><a href="#135">135</a></td></tr
><tr id="gr_svn3_136"><td id="136"><a href="#136">136</a></td></tr
><tr id="gr_svn3_137"><td id="137"><a href="#137">137</a></td></tr
><tr id="gr_svn3_138"><td id="138"><a href="#138">138</a></td></tr
><tr id="gr_svn3_139"><td id="139"><a href="#139">139</a></td></tr
><tr id="gr_svn3_140"><td id="140"><a href="#140">140</a></td></tr
><tr id="gr_svn3_141"><td id="141"><a href="#141">141</a></td></tr
><tr id="gr_svn3_142"><td id="142"><a href="#142">142</a></td></tr
><tr id="gr_svn3_143"><td id="143"><a href="#143">143</a></td></tr
><tr id="gr_svn3_144"><td id="144"><a href="#144">144</a></td></tr
><tr id="gr_svn3_145"><td id="145"><a href="#145">145</a></td></tr
><tr id="gr_svn3_146"><td id="146"><a href="#146">146</a></td></tr
><tr id="gr_svn3_147"><td id="147"><a href="#147">147</a></td></tr
><tr id="gr_svn3_148"><td id="148"><a href="#148">148</a></td></tr
><tr id="gr_svn3_149"><td id="149"><a href="#149">149</a></td></tr
><tr id="gr_svn3_150"><td id="150"><a href="#150">150</a></td></tr
><tr id="gr_svn3_151"><td id="151"><a href="#151">151</a></td></tr
><tr id="gr_svn3_152"><td id="152"><a href="#152">152</a></td></tr
><tr id="gr_svn3_153"><td id="153"><a href="#153">153</a></td></tr
><tr id="gr_svn3_154"><td id="154"><a href="#154">154</a></td></tr
><tr id="gr_svn3_155"><td id="155"><a href="#155">155</a></td></tr
><tr id="gr_svn3_156"><td id="156"><a href="#156">156</a></td></tr
><tr id="gr_svn3_157"><td id="157"><a href="#157">157</a></td></tr
><tr id="gr_svn3_158"><td id="158"><a href="#158">158</a></td></tr
><tr id="gr_svn3_159"><td id="159"><a href="#159">159</a></td></tr
><tr id="gr_svn3_160"><td id="160"><a href="#160">160</a></td></tr
><tr id="gr_svn3_161"><td id="161"><a href="#161">161</a></td></tr
><tr id="gr_svn3_162"><td id="162"><a href="#162">162</a></td></tr
><tr id="gr_svn3_163"><td id="163"><a href="#163">163</a></td></tr
><tr id="gr_svn3_164"><td id="164"><a href="#164">164</a></td></tr
><tr id="gr_svn3_165"><td id="165"><a href="#165">165</a></td></tr
><tr id="gr_svn3_166"><td id="166"><a href="#166">166</a></td></tr
><tr id="gr_svn3_167"><td id="167"><a href="#167">167</a></td></tr
><tr id="gr_svn3_168"><td id="168"><a href="#168">168</a></td></tr
><tr id="gr_svn3_169"><td id="169"><a href="#169">169</a></td></tr
><tr id="gr_svn3_170"><td id="170"><a href="#170">170</a></td></tr
><tr id="gr_svn3_171"><td id="171"><a href="#171">171</a></td></tr
><tr id="gr_svn3_172"><td id="172"><a href="#172">172</a></td></tr
><tr id="gr_svn3_173"><td id="173"><a href="#173">173</a></td></tr
><tr id="gr_svn3_174"><td id="174"><a href="#174">174</a></td></tr
><tr id="gr_svn3_175"><td id="175"><a href="#175">175</a></td></tr
><tr id="gr_svn3_176"><td id="176"><a href="#176">176</a></td></tr
><tr id="gr_svn3_177"><td id="177"><a href="#177">177</a></td></tr
><tr id="gr_svn3_178"><td id="178"><a href="#178">178</a></td></tr
><tr id="gr_svn3_179"><td id="179"><a href="#179">179</a></td></tr
><tr id="gr_svn3_180"><td id="180"><a href="#180">180</a></td></tr
><tr id="gr_svn3_181"><td id="181"><a href="#181">181</a></td></tr
><tr id="gr_svn3_182"><td id="182"><a href="#182">182</a></td></tr
><tr id="gr_svn3_183"><td id="183"><a href="#183">183</a></td></tr
><tr id="gr_svn3_184"><td id="184"><a href="#184">184</a></td></tr
><tr id="gr_svn3_185"><td id="185"><a href="#185">185</a></td></tr
><tr id="gr_svn3_186"><td id="186"><a href="#186">186</a></td></tr
><tr id="gr_svn3_187"><td id="187"><a href="#187">187</a></td></tr
><tr id="gr_svn3_188"><td id="188"><a href="#188">188</a></td></tr
><tr id="gr_svn3_189"><td id="189"><a href="#189">189</a></td></tr
><tr id="gr_svn3_190"><td id="190"><a href="#190">190</a></td></tr
><tr id="gr_svn3_191"><td id="191"><a href="#191">191</a></td></tr
><tr id="gr_svn3_192"><td id="192"><a href="#192">192</a></td></tr
><tr id="gr_svn3_193"><td id="193"><a href="#193">193</a></td></tr
><tr id="gr_svn3_194"><td id="194"><a href="#194">194</a></td></tr
><tr id="gr_svn3_195"><td id="195"><a href="#195">195</a></td></tr
><tr id="gr_svn3_196"><td id="196"><a href="#196">196</a></td></tr
><tr id="gr_svn3_197"><td id="197"><a href="#197">197</a></td></tr
><tr id="gr_svn3_198"><td id="198"><a href="#198">198</a></td></tr
><tr id="gr_svn3_199"><td id="199"><a href="#199">199</a></td></tr
><tr id="gr_svn3_200"><td id="200"><a href="#200">200</a></td></tr
><tr id="gr_svn3_201"><td id="201"><a href="#201">201</a></td></tr
><tr id="gr_svn3_202"><td id="202"><a href="#202">202</a></td></tr
><tr id="gr_svn3_203"><td id="203"><a href="#203">203</a></td></tr
><tr id="gr_svn3_204"><td id="204"><a href="#204">204</a></td></tr
></table></pre>

<pre><table width="100%"><tr id="gr_svn3_205"><td id="205"><a href="#205">205</a></td></tr
><tr id="gr_svn3_206"><td id="206"><a href="#206">206</a></td></tr
><tr id="gr_svn3_207"><td id="207"><a href="#207">207</a></td></tr
><tr id="gr_svn3_208"><td id="208"><a href="#208">208</a></td></tr
><tr id="gr_svn3_209"><td id="209"><a href="#209">209</a></td></tr
><tr id="gr_svn3_210"><td id="210"><a href="#210">210</a></td></tr
><tr id="gr_svn3_211"><td id="211"><a href="#211">211</a></td></tr
><tr id="gr_svn3_212"><td id="212"><a href="#212">212</a></td></tr
><tr id="gr_svn3_213"><td id="213"><a href="#213">213</a></td></tr
><tr id="gr_svn3_214"><td id="214"><a href="#214">214</a></td></tr
><tr id="gr_svn3_215"><td id="215"><a href="#215">215</a></td></tr
><tr id="gr_svn3_216"><td id="216"><a href="#216">216</a></td></tr
><tr id="gr_svn3_217"><td id="217"><a href="#217">217</a></td></tr
><tr id="gr_svn3_218"><td id="218"><a href="#218">218</a></td></tr
><tr id="gr_svn3_219"><td id="219"><a href="#219">219</a></td></tr
><tr id="gr_svn3_220"><td id="220"><a href="#220">220</a></td></tr
><tr id="gr_svn3_221"><td id="221"><a href="#221">221</a></td></tr
><tr id="gr_svn3_222"><td id="222"><a href="#222">222</a></td></tr
><tr id="gr_svn3_223"><td id="223"><a href="#223">223</a></td></tr
><tr id="gr_svn3_224"><td id="224"><a href="#224">224</a></td></tr
><tr id="gr_svn3_225"><td id="225"><a href="#225">225</a></td></tr
><tr id="gr_svn3_226"><td id="226"><a href="#226">226</a></td></tr
><tr id="gr_svn3_227"><td id="227"><a href="#227">227</a></td></tr
><tr id="gr_svn3_228"><td id="228"><a href="#228">228</a></td></tr
><tr id="gr_svn3_229"><td id="229"><a href="#229">229</a></td></tr
><tr id="gr_svn3_230"><td id="230"><a href="#230">230</a></td></tr
><tr id="gr_svn3_231"><td id="231"><a href="#231">231</a></td></tr
><tr id="gr_svn3_232"><td id="232"><a href="#232">232</a></td></tr
><tr id="gr_svn3_233"><td id="233"><a href="#233">233</a></td></tr
><tr id="gr_svn3_234"><td id="234"><a href="#234">234</a></td></tr
><tr id="gr_svn3_235"><td id="235"><a href="#235">235</a></td></tr
><tr id="gr_svn3_236"><td id="236"><a href="#236">236</a></td></tr
><tr id="gr_svn3_237"><td id="237"><a href="#237">237</a></td></tr
><tr id="gr_svn3_238"><td id="238"><a href="#238">238</a></td></tr
><tr id="gr_svn3_239"><td id="239"><a href="#239">239</a></td></tr
><tr id="gr_svn3_240"><td id="240"><a href="#240">240</a></td></tr
><tr id="gr_svn3_241"><td id="241"><a href="#241">241</a></td></tr
><tr id="gr_svn3_242"><td id="242"><a href="#242">242</a></td></tr
><tr id="gr_svn3_243"><td id="243"><a href="#243">243</a></td></tr
><tr id="gr_svn3_244"><td id="244"><a href="#244">244</a></td></tr
><tr id="gr_svn3_245"><td id="245"><a href="#245">245</a></td></tr
><tr id="gr_svn3_246"><td id="246"><a href="#246">246</a></td></tr
><tr id="gr_svn3_247"><td id="247"><a href="#247">247</a></td></tr
><tr id="gr_svn3_248"><td id="248"><a href="#248">248</a></td></tr
><tr id="gr_svn3_249"><td id="249"><a href="#249">249</a></td></tr
><tr id="gr_svn3_250"><td id="250"><a href="#250">250</a></td></tr
><tr id="gr_svn3_251"><td id="251"><a href="#251">251</a></td></tr
><tr id="gr_svn3_252"><td id="252"><a href="#252">252</a></td></tr
><tr id="gr_svn3_253"><td id="253"><a href="#253">253</a></td></tr
><tr id="gr_svn3_254"><td id="254"><a href="#254">254</a></td></tr
><tr id="gr_svn3_255"><td id="255"><a href="#255">255</a></td></tr
><tr id="gr_svn3_256"><td id="256"><a href="#256">256</a></td></tr
><tr id="gr_svn3_257"><td id="257"><a href="#257">257</a></td></tr
><tr id="gr_svn3_258"><td id="258"><a href="#258">258</a></td></tr
><tr id="gr_svn3_259"><td id="259"><a href="#259">259</a></td></tr
><tr id="gr_svn3_260"><td id="260"><a href="#260">260</a></td></tr
><tr id="gr_svn3_261"><td id="261"><a href="#261">261</a></td></tr
><tr id="gr_svn3_262"><td id="262"><a href="#262">262</a></td></tr
><tr id="gr_svn3_263"><td id="263"><a href="#263">263</a></td></tr
><tr id="gr_svn3_264"><td id="264"><a href="#264">264</a></td></tr
><tr id="gr_svn3_265"><td id="265"><a href="#265">265</a></td></tr
><tr id="gr_svn3_266"><td id="266"><a href="#266">266</a></td></tr
><tr id="gr_svn3_267"><td id="267"><a href="#267">267</a></td></tr
><tr id="gr_svn3_268"><td id="268"><a href="#268">268</a></td></tr
><tr id="gr_svn3_269"><td id="269"><a href="#269">269</a></td></tr
><tr id="gr_svn3_270"><td id="270"><a href="#270">270</a></td></tr
><tr id="gr_svn3_271"><td id="271"><a href="#271">271</a></td></tr
><tr id="gr_svn3_272"><td id="272"><a href="#272">272</a></td></tr
><tr id="gr_svn3_273"><td id="273"><a href="#273">273</a></td></tr
><tr id="gr_svn3_274"><td id="274"><a href="#274">274</a></td></tr
><tr id="gr_svn3_275"><td id="275"><a href="#275">275</a></td></tr
><tr id="gr_svn3_276"><td id="276"><a href="#276">276</a></td></tr
><tr id="gr_svn3_277"><td id="277"><a href="#277">277</a></td></tr
><tr id="gr_svn3_278"><td id="278"><a href="#278">278</a></td></tr
><tr id="gr_svn3_279"><td id="279"><a href="#279">279</a></td></tr
><tr id="gr_svn3_280"><td id="280"><a href="#280">280</a></td></tr
><tr id="gr_svn3_281"><td id="281"><a href="#281">281</a></td></tr
><tr id="gr_svn3_282"><td id="282"><a href="#282">282</a></td></tr
><tr id="gr_svn3_283"><td id="283"><a href="#283">283</a></td></tr
><tr id="gr_svn3_284"><td id="284"><a href="#284">284</a></td></tr
><tr id="gr_svn3_285"><td id="285"><a href="#285">285</a></td></tr
><tr id="gr_svn3_286"><td id="286"><a href="#286">286</a></td></tr
><tr id="gr_svn3_287"><td id="287"><a href="#287">287</a></td></tr
><tr id="gr_svn3_288"><td id="288"><a href="#288">288</a></td></tr
><tr id="gr_svn3_289"><td id="289"><a href="#289">289</a></td></tr
><tr id="gr_svn3_290"><td id="290"><a href="#290">290</a></td></tr
><tr id="gr_svn3_291"><td id="291"><a href="#291">291</a></td></tr
><tr id="gr_svn3_292"><td id="292"><a href="#292">292</a></td></tr
><tr id="gr_svn3_293"><td id="293"><a href="#293">293</a></td></tr
><tr id="gr_svn3_294"><td id="294"><a href="#294">294</a></td></tr
><tr id="gr_svn3_295"><td id="295"><a href="#295">295</a></td></tr
><tr id="gr_svn3_296"><td id="296"><a href="#296">296</a></td></tr
><tr id="gr_svn3_297"><td id="297"><a href="#297">297</a></td></tr
><tr id="gr_svn3_298"><td id="298"><a href="#298">298</a></td></tr
><tr id="gr_svn3_299"><td id="299"><a href="#299">299</a></td></tr
><tr id="gr_svn3_300"><td id="300"><a href="#300">300</a></td></tr
><tr id="gr_svn3_301"><td id="301"><a href="#301">301</a></td></tr
><tr id="gr_svn3_302"><td id="302"><a href="#302">302</a></td></tr
><tr id="gr_svn3_303"><td id="303"><a href="#303">303</a></td></tr
><tr id="gr_svn3_304"><td id="304"><a href="#304">304</a></td></tr
><tr id="gr_svn3_305"><td id="305"><a href="#305">305</a></td></tr
><tr id="gr_svn3_306"><td id="306"><a href="#306">306</a></td></tr
><tr id="gr_svn3_307"><td id="307"><a href="#307">307</a></td></tr
><tr id="gr_svn3_308"><td id="308"><a href="#308">308</a></td></tr
><tr id="gr_svn3_309"><td id="309"><a href="#309">309</a></td></tr
><tr id="gr_svn3_310"><td id="310"><a href="#310">310</a></td></tr
><tr id="gr_svn3_311"><td id="311"><a href="#311">311</a></td></tr
><tr id="gr_svn3_312"><td id="312"><a href="#312">312</a></td></tr
><tr id="gr_svn3_313"><td id="313"><a href="#313">313</a></td></tr
><tr id="gr_svn3_314"><td id="314"><a href="#314">314</a></td></tr
><tr id="gr_svn3_315"><td id="315"><a href="#315">315</a></td></tr
><tr id="gr_svn3_316"><td id="316"><a href="#316">316</a></td></tr
><tr id="gr_svn3_317"><td id="317"><a href="#317">317</a></td></tr
><tr id="gr_svn3_318"><td id="318"><a href="#318">318</a></td></tr
><tr id="gr_svn3_319"><td id="319"><a href="#319">319</a></td></tr
><tr id="gr_svn3_320"><td id="320"><a href="#320">320</a></td></tr
><tr id="gr_svn3_321"><td id="321"><a href="#321">321</a></td></tr
><tr id="gr_svn3_322"><td id="322"><a href="#322">322</a></td></tr
><tr id="gr_svn3_323"><td id="323"><a href="#323">323</a></td></tr
><tr id="gr_svn3_324"><td id="324"><a href="#324">324</a></td></tr
><tr id="gr_svn3_325"><td id="325"><a href="#325">325</a></td></tr
><tr id="gr_svn3_326"><td id="326"><a href="#326">326</a></td></tr
><tr id="gr_svn3_327"><td id="327"><a href="#327">327</a></td></tr
><tr id="gr_svn3_328"><td id="328"><a href="#328">328</a></td></tr
><tr id="gr_svn3_329"><td id="329"><a href="#329">329</a></td></tr
><tr id="gr_svn3_330"><td id="330"><a href="#330">330</a></td></tr
><tr id="gr_svn3_331"><td id="331"><a href="#331">331</a></td></tr
><tr id="gr_svn3_332"><td id="332"><a href="#332">332</a></td></tr
><tr id="gr_svn3_333"><td id="333"><a href="#333">333</a></td></tr
><tr id="gr_svn3_334"><td id="334"><a href="#334">334</a></td></tr
><tr id="gr_svn3_335"><td id="335"><a href="#335">335</a></td></tr
><tr id="gr_svn3_336"><td id="336"><a href="#336">336</a></td></tr
><tr id="gr_svn3_337"><td id="337"><a href="#337">337</a></td></tr
><tr id="gr_svn3_338"><td id="338"><a href="#338">338</a></td></tr
><tr id="gr_svn3_339"><td id="339"><a href="#339">339</a></td></tr
><tr id="gr_svn3_340"><td id="340"><a href="#340">340</a></td></tr
><tr id="gr_svn3_341"><td id="341"><a href="#341">341</a></td></tr
><tr id="gr_svn3_342"><td id="342"><a href="#342">342</a></td></tr
><tr id="gr_svn3_343"><td id="343"><a href="#343">343</a></td></tr
><tr id="gr_svn3_344"><td id="344"><a href="#344">344</a></td></tr
><tr id="gr_svn3_345"><td id="345"><a href="#345">345</a></td></tr
><tr id="gr_svn3_346"><td id="346"><a href="#346">346</a></td></tr
><tr id="gr_svn3_347"><td id="347"><a href="#347">347</a></td></tr
><tr id="gr_svn3_348"><td id="348"><a href="#348">348</a></td></tr
><tr id="gr_svn3_349"><td id="349"><a href="#349">349</a></td></tr
><tr id="gr_svn3_350"><td id="350"><a href="#350">350</a></td></tr
><tr id="gr_svn3_351"><td id="351"><a href="#351">351</a></td></tr
><tr id="gr_svn3_352"><td id="352"><a href="#352">352</a></td></tr
><tr id="gr_svn3_353"><td id="353"><a href="#353">353</a></td></tr
><tr id="gr_svn3_354"><td id="354"><a href="#354">354</a></td></tr
><tr id="gr_svn3_355"><td id="355"><a href="#355">355</a></td></tr
><tr id="gr_svn3_356"><td id="356"><a href="#356">356</a></td></tr
><tr id="gr_svn3_357"><td id="357"><a href="#357">357</a></td></tr
><tr id="gr_svn3_358"><td id="358"><a href="#358">358</a></td></tr
><tr id="gr_svn3_359"><td id="359"><a href="#359">359</a></td></tr
><tr id="gr_svn3_360"><td id="360"><a href="#360">360</a></td></tr
><tr id="gr_svn3_361"><td id="361"><a href="#361">361</a></td></tr
><tr id="gr_svn3_362"><td id="362"><a href="#362">362</a></td></tr
><tr id="gr_svn3_363"><td id="363"><a href="#363">363</a></td></tr
><tr id="gr_svn3_364"><td id="364"><a href="#364">364</a></td></tr
><tr id="gr_svn3_365"><td id="365"><a href="#365">365</a></td></tr
><tr id="gr_svn3_366"><td id="366"><a href="#366">366</a></td></tr
><tr id="gr_svn3_367"><td id="367"><a href="#367">367</a></td></tr
><tr id="gr_svn3_368"><td id="368"><a href="#368">368</a></td></tr
><tr id="gr_svn3_369"><td id="369"><a href="#369">369</a></td></tr
><tr id="gr_svn3_370"><td id="370"><a href="#370">370</a></td></tr
><tr id="gr_svn3_371"><td id="371"><a href="#371">371</a></td></tr
><tr id="gr_svn3_372"><td id="372"><a href="#372">372</a></td></tr
><tr id="gr_svn3_373"><td id="373"><a href="#373">373</a></td></tr
><tr id="gr_svn3_374"><td id="374"><a href="#374">374</a></td></tr
><tr id="gr_svn3_375"><td id="375"><a href="#375">375</a></td></tr
><tr id="gr_svn3_376"><td id="376"><a href="#376">376</a></td></tr
><tr id="gr_svn3_377"><td id="377"><a href="#377">377</a></td></tr
><tr id="gr_svn3_378"><td id="378"><a href="#378">378</a></td></tr
><tr id="gr_svn3_379"><td id="379"><a href="#379">379</a></td></tr
><tr id="gr_svn3_380"><td id="380"><a href="#380">380</a></td></tr
><tr id="gr_svn3_381"><td id="381"><a href="#381">381</a></td></tr
><tr id="gr_svn3_382"><td id="382"><a href="#382">382</a></td></tr
><tr id="gr_svn3_383"><td id="383"><a href="#383">383</a></td></tr
><tr id="gr_svn3_384"><td id="384"><a href="#384">384</a></td></tr
><tr id="gr_svn3_385"><td id="385"><a href="#385">385</a></td></tr
><tr id="gr_svn3_386"><td id="386"><a href="#386">386</a></td></tr
><tr id="gr_svn3_387"><td id="387"><a href="#387">387</a></td></tr
><tr id="gr_svn3_388"><td id="388"><a href="#388">388</a></td></tr
><tr id="gr_svn3_389"><td id="389"><a href="#389">389</a></td></tr
><tr id="gr_svn3_390"><td id="390"><a href="#390">390</a></td></tr
><tr id="gr_svn3_391"><td id="391"><a href="#391">391</a></td></tr
><tr id="gr_svn3_392"><td id="392"><a href="#392">392</a></td></tr
><tr id="gr_svn3_393"><td id="393"><a href="#393">393</a></td></tr
><tr id="gr_svn3_394"><td id="394"><a href="#394">394</a></td></tr
><tr id="gr_svn3_395"><td id="395"><a href="#395">395</a></td></tr
><tr id="gr_svn3_396"><td id="396"><a href="#396">396</a></td></tr
><tr id="gr_svn3_397"><td id="397"><a href="#397">397</a></td></tr
><tr id="gr_svn3_398"><td id="398"><a href="#398">398</a></td></tr
><tr id="gr_svn3_399"><td id="399"><a href="#399">399</a></td></tr
><tr id="gr_svn3_400"><td id="400"><a href="#400">400</a></td></tr
><tr id="gr_svn3_401"><td id="401"><a href="#401">401</a></td></tr
><tr id="gr_svn3_402"><td id="402"><a href="#402">402</a></td></tr
><tr id="gr_svn3_403"><td id="403"><a href="#403">403</a></td></tr
><tr id="gr_svn3_404"><td id="404"><a href="#404">404</a></td></tr
><tr id="gr_svn3_405"><td id="405"><a href="#405">405</a></td></tr
><tr id="gr_svn3_406"><td id="406"><a href="#406">406</a></td></tr
><tr id="gr_svn3_407"><td id="407"><a href="#407">407</a></td></tr
><tr id="gr_svn3_408"><td id="408"><a href="#408">408</a></td></tr
><tr id="gr_svn3_409"><td id="409"><a href="#409">409</a></td></tr
><tr id="gr_svn3_410"><td id="410"><a href="#410">410</a></td></tr
><tr id="gr_svn3_411"><td id="411"><a href="#411">411</a></td></tr
><tr id="gr_svn3_412"><td id="412"><a href="#412">412</a></td></tr
><tr id="gr_svn3_413"><td id="413"><a href="#413">413</a></td></tr
><tr id="gr_svn3_414"><td id="414"><a href="#414">414</a></td></tr
><tr id="gr_svn3_415"><td id="415"><a href="#415">415</a></td></tr
><tr id="gr_svn3_416"><td id="416"><a href="#416">416</a></td></tr
></table></pre>

<pre><table width="100%"><tr id="gr_svn3_417"><td id="417"><a href="#417">417</a></td></tr
><tr id="gr_svn3_418"><td id="418"><a href="#418">418</a></td></tr
><tr id="gr_svn3_419"><td id="419"><a href="#419">419</a></td></tr
><tr id="gr_svn3_420"><td id="420"><a href="#420">420</a></td></tr
><tr id="gr_svn3_421"><td id="421"><a href="#421">421</a></td></tr
><tr id="gr_svn3_422"><td id="422"><a href="#422">422</a></td></tr
><tr id="gr_svn3_423"><td id="423"><a href="#423">423</a></td></tr
><tr id="gr_svn3_424"><td id="424"><a href="#424">424</a></td></tr
><tr id="gr_svn3_425"><td id="425"><a href="#425">425</a></td></tr
><tr id="gr_svn3_426"><td id="426"><a href="#426">426</a></td></tr
><tr id="gr_svn3_427"><td id="427"><a href="#427">427</a></td></tr
><tr id="gr_svn3_428"><td id="428"><a href="#428">428</a></td></tr
><tr id="gr_svn3_429"><td id="429"><a href="#429">429</a></td></tr
><tr id="gr_svn3_430"><td id="430"><a href="#430">430</a></td></tr
><tr id="gr_svn3_431"><td id="431"><a href="#431">431</a></td></tr
><tr id="gr_svn3_432"><td id="432"><a href="#432">432</a></td></tr
><tr id="gr_svn3_433"><td id="433"><a href="#433">433</a></td></tr
><tr id="gr_svn3_434"><td id="434"><a href="#434">434</a></td></tr
><tr id="gr_svn3_435"><td id="435"><a href="#435">435</a></td></tr
><tr id="gr_svn3_436"><td id="436"><a href="#436">436</a></td></tr
><tr id="gr_svn3_437"><td id="437"><a href="#437">437</a></td></tr
><tr id="gr_svn3_438"><td id="438"><a href="#438">438</a></td></tr
><tr id="gr_svn3_439"><td id="439"><a href="#439">439</a></td></tr
><tr id="gr_svn3_440"><td id="440"><a href="#440">440</a></td></tr
><tr id="gr_svn3_441"><td id="441"><a href="#441">441</a></td></tr
><tr id="gr_svn3_442"><td id="442"><a href="#442">442</a></td></tr
><tr id="gr_svn3_443"><td id="443"><a href="#443">443</a></td></tr
><tr id="gr_svn3_444"><td id="444"><a href="#444">444</a></td></tr
><tr id="gr_svn3_445"><td id="445"><a href="#445">445</a></td></tr
><tr id="gr_svn3_446"><td id="446"><a href="#446">446</a></td></tr
><tr id="gr_svn3_447"><td id="447"><a href="#447">447</a></td></tr
><tr id="gr_svn3_448"><td id="448"><a href="#448">448</a></td></tr
><tr id="gr_svn3_449"><td id="449"><a href="#449">449</a></td></tr
><tr id="gr_svn3_450"><td id="450"><a href="#450">450</a></td></tr
><tr id="gr_svn3_451"><td id="451"><a href="#451">451</a></td></tr
><tr id="gr_svn3_452"><td id="452"><a href="#452">452</a></td></tr
><tr id="gr_svn3_453"><td id="453"><a href="#453">453</a></td></tr
><tr id="gr_svn3_454"><td id="454"><a href="#454">454</a></td></tr
><tr id="gr_svn3_455"><td id="455"><a href="#455">455</a></td></tr
><tr id="gr_svn3_456"><td id="456"><a href="#456">456</a></td></tr
><tr id="gr_svn3_457"><td id="457"><a href="#457">457</a></td></tr
><tr id="gr_svn3_458"><td id="458"><a href="#458">458</a></td></tr
><tr id="gr_svn3_459"><td id="459"><a href="#459">459</a></td></tr
><tr id="gr_svn3_460"><td id="460"><a href="#460">460</a></td></tr
><tr id="gr_svn3_461"><td id="461"><a href="#461">461</a></td></tr
><tr id="gr_svn3_462"><td id="462"><a href="#462">462</a></td></tr
><tr id="gr_svn3_463"><td id="463"><a href="#463">463</a></td></tr
><tr id="gr_svn3_464"><td id="464"><a href="#464">464</a></td></tr
><tr id="gr_svn3_465"><td id="465"><a href="#465">465</a></td></tr
><tr id="gr_svn3_466"><td id="466"><a href="#466">466</a></td></tr
><tr id="gr_svn3_467"><td id="467"><a href="#467">467</a></td></tr
><tr id="gr_svn3_468"><td id="468"><a href="#468">468</a></td></tr
><tr id="gr_svn3_469"><td id="469"><a href="#469">469</a></td></tr
><tr id="gr_svn3_470"><td id="470"><a href="#470">470</a></td></tr
><tr id="gr_svn3_471"><td id="471"><a href="#471">471</a></td></tr
><tr id="gr_svn3_472"><td id="472"><a href="#472">472</a></td></tr
></table></pre>

<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>
</td>
<td id="lines">
<pre class="prettyprint"><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>

<pre class="prettyprint "><table><tr
id=sl_svn3_1><td class="source">&quot; lookupfile.vim: See plugin/lookupfile.vim<br></td></tr
><tr
id=sl_svn3_2><td class="source"><br></td></tr
><tr
id=sl_svn3_3><td class="source">&quot; Make sure line-continuations won&#39;t cause any problem. This will be restored<br></td></tr
><tr
id=sl_svn3_4><td class="source">&quot;   at the end<br></td></tr
><tr
id=sl_svn3_5><td class="source">let s:save_cpo = &amp;cpo<br></td></tr
><tr
id=sl_svn3_6><td class="source">set cpo&amp;vim<br></td></tr
><tr
id=sl_svn3_7><td class="source"><br></td></tr
><tr
id=sl_svn3_8><td class="source">&quot; Some onetime initialization of variables<br></td></tr
><tr
id=sl_svn3_9><td class="source">if !exists(&#39;s:myBufNum&#39;)<br></td></tr
><tr
id=sl_svn3_10><td class="source">  let s:windowName = &#39;[Lookup File]&#39;<br></td></tr
><tr
id=sl_svn3_11><td class="source">  let s:myBufNum = -1<br></td></tr
><tr
id=sl_svn3_12><td class="source">  let s:popupIsHidden = 0<br></td></tr
><tr
id=sl_svn3_13><td class="source">endif<br></td></tr
><tr
id=sl_svn3_14><td class="source">let g:lookupfile#lastPattern = &quot;&quot;<br></td></tr
><tr
id=sl_svn3_15><td class="source">let g:lookupfile#lastResults = []<br></td></tr
><tr
id=sl_svn3_16><td class="source">let g:lookupfile#lastStatsMsg = []<br></td></tr
><tr
id=sl_svn3_17><td class="source">let g:lookupfile#recentFiles = []<br></td></tr
><tr
id=sl_svn3_18><td class="source"><br></td></tr
><tr
id=sl_svn3_19><td class="source">function! lookupfile#OpenWindow(bang, initPat)<br></td></tr
><tr
id=sl_svn3_20><td class="source">  let origWinnr = winnr()<br></td></tr
><tr
id=sl_svn3_21><td class="source">  let _isf = &amp;isfname<br></td></tr
><tr
id=sl_svn3_22><td class="source">  let _splitbelow = &amp;splitbelow<br></td></tr
><tr
id=sl_svn3_23><td class="source">  set nosplitbelow<br></td></tr
><tr
id=sl_svn3_24><td class="source">  try<br></td></tr
><tr
id=sl_svn3_25><td class="source">    if s:myBufNum == -1<br></td></tr
><tr
id=sl_svn3_26><td class="source">      &quot; Temporarily modify isfname to avoid treating the name as a pattern.<br></td></tr
><tr
id=sl_svn3_27><td class="source">      set isfname-=\<br></td></tr
><tr
id=sl_svn3_28><td class="source">      set isfname-=[<br></td></tr
><tr
id=sl_svn3_29><td class="source">      if exists(&#39;+shellslash&#39;)<br></td></tr
><tr
id=sl_svn3_30><td class="source">        call genutils#OpenWinNoEa(&quot;1sp \\\\&quot;. escape(s:windowName, &#39; &#39;))<br></td></tr
><tr
id=sl_svn3_31><td class="source">      else<br></td></tr
><tr
id=sl_svn3_32><td class="source">        call genutils#OpenWinNoEa(&quot;1sp \\&quot;. escape(s:windowName, &#39; &#39;))<br></td></tr
><tr
id=sl_svn3_33><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_34><td class="source">      let s:myBufNum = bufnr(&#39;%&#39;)<br></td></tr
><tr
id=sl_svn3_35><td class="source">    else<br></td></tr
><tr
id=sl_svn3_36><td class="source">      let winnr = bufwinnr(s:myBufNum)<br></td></tr
><tr
id=sl_svn3_37><td class="source">      if winnr == -1<br></td></tr
><tr
id=sl_svn3_38><td class="source">        call genutils#OpenWinNoEa(&#39;1sb &#39;. s:myBufNum)<br></td></tr
><tr
id=sl_svn3_39><td class="source">      else<br></td></tr
><tr
id=sl_svn3_40><td class="source">        let wasVisible = 1<br></td></tr
><tr
id=sl_svn3_41><td class="source">        exec winnr &#39;wincmd w&#39;<br></td></tr
><tr
id=sl_svn3_42><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_43><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_44><td class="source">  finally<br></td></tr
><tr
id=sl_svn3_45><td class="source">    let &amp;isfname = _isf<br></td></tr
><tr
id=sl_svn3_46><td class="source">    let &amp;splitbelow = _splitbelow<br></td></tr
><tr
id=sl_svn3_47><td class="source">  endtry<br></td></tr
><tr
id=sl_svn3_48><td class="source"><br></td></tr
><tr
id=sl_svn3_49><td class="source">  call s:SetupBuf()<br></td></tr
><tr
id=sl_svn3_50><td class="source">  let initPat = &#39;&#39;<br></td></tr
><tr
id=sl_svn3_51><td class="source">  if a:bang != &#39;&#39;<br></td></tr
><tr
id=sl_svn3_52><td class="source">    let initPat = &#39;&#39;<br></td></tr
><tr
id=sl_svn3_53><td class="source">  elseif a:initPat != &#39;&#39;<br></td></tr
><tr
id=sl_svn3_54><td class="source">    let initPat = a:initPat<br></td></tr
><tr
id=sl_svn3_55><td class="source">  elseif g:lookupfile#lastPattern != &#39;&#39; &amp;&amp; g:LookupFile_PreserveLastPattern<br></td></tr
><tr
id=sl_svn3_56><td class="source">    let initPat = g:lookupfile#lastPattern<br></td></tr
><tr
id=sl_svn3_57><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_58><td class="source">  $<br></td></tr
><tr
id=sl_svn3_59><td class="source">  if getline(&#39;.&#39;) !=# initPat<br></td></tr
><tr
id=sl_svn3_60><td class="source">    silent! put=&#39;&#39;<br></td></tr
><tr
id=sl_svn3_61><td class="source">    call setline(&#39;.&#39;, initPat)<br></td></tr
><tr
id=sl_svn3_62><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_63><td class="source">  startinsert!<br></td></tr
><tr
id=sl_svn3_64><td class="source">  if !g:LookupFile_OnCursorMovedI<br></td></tr
><tr
id=sl_svn3_65><td class="source">    &quot; This is a hack to bring up the popup immediately, while reopening the<br></td></tr
><tr
id=sl_svn3_66><td class="source">    &quot; window, just for a better response.<br></td></tr
><tr
id=sl_svn3_67><td class="source">    aug LookupFileCursorHoldImm<br></td></tr
><tr
id=sl_svn3_68><td class="source">      au!<br></td></tr
><tr
id=sl_svn3_69><td class="source">      au CursorMovedI &lt;buffer&gt; nested exec &#39;doautocmd LookupFile CursorHoldI&#39; |<br></td></tr
><tr
id=sl_svn3_70><td class="source">            \ au! LookupFileCursorHoldImm<br></td></tr
><tr
id=sl_svn3_71><td class="source">    aug END<br></td></tr
><tr
id=sl_svn3_72><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_73><td class="source">  call s:LookupFileSet()<br></td></tr
><tr
id=sl_svn3_74><td class="source">  aug LookupFileReset<br></td></tr
><tr
id=sl_svn3_75><td class="source">    au!<br></td></tr
><tr
id=sl_svn3_76><td class="source">    au CursorMovedI &lt;buffer&gt; call &lt;SID&gt;LookupFileSet()<br></td></tr
><tr
id=sl_svn3_77><td class="source">    au CursorMoved &lt;buffer&gt; call &lt;SID&gt;LookupFileSet()<br></td></tr
><tr
id=sl_svn3_78><td class="source">    au WinEnter &lt;buffer&gt; call &lt;SID&gt;LookupFileSet()<br></td></tr
><tr
id=sl_svn3_79><td class="source">    au TabEnter &lt;buffer&gt; call &lt;SID&gt;LookupFileSet()<br></td></tr
><tr
id=sl_svn3_80><td class="source">    au WinEnter * call &lt;SID&gt;LookupFileReset(0)<br></td></tr
><tr
id=sl_svn3_81><td class="source">    au TabEnter * call &lt;SID&gt;LookupFileReset(0)<br></td></tr
><tr
id=sl_svn3_82><td class="source">    au CursorMoved * call &lt;SID&gt;LookupFileReset(0)<br></td></tr
><tr
id=sl_svn3_83><td class="source">    &quot; Better be safe than sorry.<br></td></tr
><tr
id=sl_svn3_84><td class="source">    au BufHidden &lt;buffer&gt; call &lt;SID&gt;LookupFileReset(1)<br></td></tr
><tr
id=sl_svn3_85><td class="source">  aug END<br></td></tr
><tr
id=sl_svn3_86><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_87><td class="source"><br></td></tr
><tr
id=sl_svn3_88><td class="source">function! lookupfile#CloseWindow()<br></td></tr
><tr
id=sl_svn3_89><td class="source">  if bufnr(&#39;%&#39;) != s:myBufNum<br></td></tr
><tr
id=sl_svn3_90><td class="source">    return<br></td></tr
><tr
id=sl_svn3_91><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_92><td class="source"><br></td></tr
><tr
id=sl_svn3_93><td class="source">  call s:LookupFileReset(1)<br></td></tr
><tr
id=sl_svn3_94><td class="source">  close<br></td></tr
><tr
id=sl_svn3_95><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_96><td class="source"><br></td></tr
><tr
id=sl_svn3_97><td class="source">function! lookupfile#ClearCache()<br></td></tr
><tr
id=sl_svn3_98><td class="source">  let g:lookupfile#lastPattern = &quot;&quot;<br></td></tr
><tr
id=sl_svn3_99><td class="source">  let g:lookupfile#lastResults = []<br></td></tr
><tr
id=sl_svn3_100><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_101><td class="source"><br></td></tr
><tr
id=sl_svn3_102><td class="source">function! s:LookupFileSet()<br></td></tr
><tr
id=sl_svn3_103><td class="source">  if bufnr(&#39;%&#39;) != s:myBufNum || exists(&#39;s:_backspace&#39;)<br></td></tr
><tr
id=sl_svn3_104><td class="source">    return<br></td></tr
><tr
id=sl_svn3_105><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_106><td class="source">  let s:_backspace = &amp;backspace<br></td></tr
><tr
id=sl_svn3_107><td class="source">  set backspace=start<br></td></tr
><tr
id=sl_svn3_108><td class="source">  let s:_completeopt = &amp;completeopt<br></td></tr
><tr
id=sl_svn3_109><td class="source">  set completeopt+=menuone<br></td></tr
><tr
id=sl_svn3_110><td class="source">  let s:_updatetime = &amp;updatetime<br></td></tr
><tr
id=sl_svn3_111><td class="source">  let &amp;updatetime = g:LookupFile_UpdateTime<br></td></tr
><tr
id=sl_svn3_112><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_113><td class="source"><br></td></tr
><tr
id=sl_svn3_114><td class="source">function! s:LookupFileReset(force)<br></td></tr
><tr
id=sl_svn3_115><td class="source">  if a:force<br></td></tr
><tr
id=sl_svn3_116><td class="source">    aug LookupFileReset<br></td></tr
><tr
id=sl_svn3_117><td class="source">      au!<br></td></tr
><tr
id=sl_svn3_118><td class="source">    aug END<br></td></tr
><tr
id=sl_svn3_119><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_120><td class="source">  &quot; Ignore the event while in the same buffer.<br></td></tr
><tr
id=sl_svn3_121><td class="source">  if exists(&#39;s:_backspace&#39;) &amp;&amp; (a:force || (bufnr(&#39;%&#39;) != s:myBufNum))<br></td></tr
><tr
id=sl_svn3_122><td class="source">    let &amp;backspace = s:_backspace<br></td></tr
><tr
id=sl_svn3_123><td class="source">    let &amp;completeopt = s:_completeopt<br></td></tr
><tr
id=sl_svn3_124><td class="source">    let &amp;updatetime = s:_updatetime<br></td></tr
><tr
id=sl_svn3_125><td class="source">    unlet s:_backspace s:_completeopt s:_updatetime<br></td></tr
><tr
id=sl_svn3_126><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_127><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_128><td class="source"><br></td></tr
><tr
id=sl_svn3_129><td class="source">function! s:HidePopup()<br></td></tr
><tr
id=sl_svn3_130><td class="source">  let s:popupIsHidden = 1<br></td></tr
><tr
id=sl_svn3_131><td class="source">  return &quot;\&lt;C-E&gt;&quot;<br></td></tr
><tr
id=sl_svn3_132><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_133><td class="source"><br></td></tr
><tr
id=sl_svn3_134><td class="source">function! lookupfile#IsPopupHidden()<br></td></tr
><tr
id=sl_svn3_135><td class="source">  return s:popupIsHidden<br></td></tr
><tr
id=sl_svn3_136><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_137><td class="source"><br></td></tr
><tr
id=sl_svn3_138><td class="source">function! s:SetupBuf()<br></td></tr
><tr
id=sl_svn3_139><td class="source">  call genutils#SetupScratchBuffer()<br></td></tr
><tr
id=sl_svn3_140><td class="source">  resize 1<br></td></tr
><tr
id=sl_svn3_141><td class="source">  setlocal wrap<br></td></tr
><tr
id=sl_svn3_142><td class="source">  setlocal bufhidden=hide<br></td></tr
><tr
id=sl_svn3_143><td class="source">  setlocal winfixheight<br></td></tr
><tr
id=sl_svn3_144><td class="source">  setlocal wrapmargin=0<br></td></tr
><tr
id=sl_svn3_145><td class="source">  setlocal textwidth=0<br></td></tr
><tr
id=sl_svn3_146><td class="source">  setlocal completefunc=lookupfile#Complete<br></td></tr
><tr
id=sl_svn3_147><td class="source">  syn clear<br></td></tr
><tr
id=sl_svn3_148><td class="source">  set ft=lookupfile<br></td></tr
><tr
id=sl_svn3_149><td class="source">  &quot; Setup maps to open the file.<br></td></tr
><tr
id=sl_svn3_150><td class="source">  inoremap &lt;silent&gt; &lt;buffer&gt; &lt;expr&gt; &lt;C-E&gt; &lt;SID&gt;HidePopup()<br></td></tr
><tr
id=sl_svn3_151><td class="source">  inoremap &lt;silent&gt; &lt;buffer&gt; &lt;expr&gt; &lt;CR&gt; &lt;SID&gt;AcceptFile(0, &quot;\&lt;CR&gt;&quot;)<br></td></tr
><tr
id=sl_svn3_152><td class="source">  inoremap &lt;silent&gt; &lt;buffer&gt; &lt;expr&gt; &lt;C-O&gt; &lt;SID&gt;AcceptFile(1, &quot;\&lt;C-O&gt;&quot;)<br></td></tr
><tr
id=sl_svn3_153><td class="source">  &quot; This prevents the &quot;Whole line completion&quot; from getting triggered with &lt;BS&gt;,<br></td></tr
><tr
id=sl_svn3_154><td class="source">  &quot; however this might make the dropdown kind of flash.<br></td></tr
><tr
id=sl_svn3_155><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;BS&gt;       pumvisible()?&quot;\&lt;C-E&gt;\&lt;BS&gt;&quot;:&quot;\&lt;BS&gt;&quot;<br></td></tr
><tr
id=sl_svn3_156><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;S-BS&gt;       pumvisible()?&quot;\&lt;C-E&gt;\&lt;BS&gt;&quot;:&quot;\&lt;BS&gt;&quot;<br></td></tr
><tr
id=sl_svn3_157><td class="source">  &quot; Make &lt;C-Y&gt; behave just like &lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_158><td class="source">  imap     &lt;buffer&gt; &lt;C-Y&gt;      &lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_159><td class="source">  if g:LookupFile_EscCancelsPopup<br></td></tr
><tr
id=sl_svn3_160><td class="source">    inoremap &lt;buffer&gt; &lt;expr&gt; &lt;Esc&gt;      pumvisible()?&quot;\&lt;C-E&gt;\&lt;C-C&gt;&quot;:&quot;\&lt;Esc&gt;&quot;<br></td></tr
><tr
id=sl_svn3_161><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_162><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;silent&gt; &lt;Down&gt; &lt;SID&gt;GetCommand(1, 1, &quot;\&lt;C-N&gt;&quot;,<br></td></tr
><tr
id=sl_svn3_163><td class="source">        \ &quot;\&quot;\\&lt;Lt&gt;C-N&gt;\&quot;&quot;)<br></td></tr
><tr
id=sl_svn3_164><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;silent&gt; &lt;Up&gt; &lt;SID&gt;GetCommand(1, 1, &quot;\&lt;C-P&gt;&quot;,<br></td></tr
><tr
id=sl_svn3_165><td class="source">        \ &quot;\&quot;\\&lt;Lt&gt;C-P&gt;\&quot;&quot;)<br></td></tr
><tr
id=sl_svn3_166><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;silent&gt; &lt;PageDown&gt; &lt;SID&gt;GetCommand(1, 0,<br></td></tr
><tr
id=sl_svn3_167><td class="source">        \ &quot;\&lt;PageDown&gt;&quot;, &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_168><td class="source">  inoremap &lt;buffer&gt; &lt;expr&gt; &lt;silent&gt; &lt;PageUp&gt; &lt;SID&gt;GetCommand(1, 0,<br></td></tr
><tr
id=sl_svn3_169><td class="source">        \ &quot;\&lt;PageUp&gt;&quot;, &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_170><td class="source">  nnoremap &lt;silent&gt; &lt;buffer&gt; o :OpenFile&lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_171><td class="source">  nnoremap &lt;silent&gt; &lt;buffer&gt; O :OpenFile!&lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_172><td class="source">  command! -buffer -nargs=0 -bang OpenFile<br></td></tr
><tr
id=sl_svn3_173><td class="source">        \ :call &lt;SID&gt;OpenCurFile(&#39;&lt;bang&gt;&#39; != &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_174><td class="source">  command! -buffer -nargs=0 -bang AddPattern :call &lt;SID&gt;AddPattern()<br></td></tr
><tr
id=sl_svn3_175><td class="source">  nnoremap &lt;buffer&gt; &lt;silent&gt; &lt;Plug&gt;LookupFile :call lookupfile#CloseWindow()&lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_176><td class="source">  inoremap &lt;buffer&gt; &lt;silent&gt; &lt;Plug&gt;LookupFile &lt;C-E&gt;&lt;C-C&gt;:call lookupfile#CloseWindow()&lt;CR&gt;<br></td></tr
><tr
id=sl_svn3_177><td class="source"><br></td></tr
><tr
id=sl_svn3_178><td class="source">  aug LookupFile<br></td></tr
><tr
id=sl_svn3_179><td class="source">    au!<br></td></tr
><tr
id=sl_svn3_180><td class="source">    if g:LookupFile_ShowFiller<br></td></tr
><tr
id=sl_svn3_181><td class="source">      exec &#39;au&#39; (g:LookupFile_OnCursorMovedI ? &#39;CursorMovedI&#39; : &#39;CursorHoldI&#39;)<br></td></tr
><tr
id=sl_svn3_182><td class="source">            \ &#39;&lt;buffer&gt; call &lt;SID&gt;ShowFiller()&#39;<br></td></tr
><tr
id=sl_svn3_183><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_184><td class="source">    exec &#39;au&#39; (g:LookupFile_OnCursorMovedI ? &#39;CursorMovedI&#39; : &#39;CursorHoldI&#39;)<br></td></tr
><tr
id=sl_svn3_185><td class="source">          \ &#39;&lt;buffer&gt; call lookupfile#LookupFile(0)&#39;<br></td></tr
><tr
id=sl_svn3_186><td class="source">  aug END<br></td></tr
><tr
id=sl_svn3_187><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_188><td class="source"><br></td></tr
><tr
id=sl_svn3_189><td class="source">function! s:GetCommand(withPopupTrigger, withSkipPat, actCmd, innerCmd)<br></td></tr
><tr
id=sl_svn3_190><td class="source">  let cmd = &#39;&#39;<br></td></tr
><tr
id=sl_svn3_191><td class="source">  if a:withPopupTrigger &amp;&amp; !pumvisible()<br></td></tr
><tr
id=sl_svn3_192><td class="source">    let cmd .= &quot;\&lt;C-X&gt;\&lt;C-U&gt;&quot;<br></td></tr
><tr
id=sl_svn3_193><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_194><td class="source">  let cmd .= a:actCmd. &quot;\&lt;C-R&gt;=(getline(&#39;.&#39;) == lookupfile#lastPattern) ? &quot;.<br></td></tr
><tr
id=sl_svn3_195><td class="source">        \ a:innerCmd.&quot; : &#39;&#39;\&lt;CR&gt;&quot;<br></td></tr
><tr
id=sl_svn3_196><td class="source">  return cmd<br></td></tr
><tr
id=sl_svn3_197><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_198><td class="source"><br></td></tr
><tr
id=sl_svn3_199><td class="source">function! s:AddPattern()<br></td></tr
><tr
id=sl_svn3_200><td class="source">  if g:LookupFile_PreservePatternHistory<br></td></tr
><tr
id=sl_svn3_201><td class="source">    silent! put! =g:lookupfile#lastPattern<br></td></tr
><tr
id=sl_svn3_202><td class="source">    $<br></td></tr
><tr
id=sl_svn3_203><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_204><td class="source">endfunction<br></td></tr
></table></pre>

<pre class="prettyprint "><table><tr
id=sl_svn3_205><td class="source"><br></td></tr
><tr
id=sl_svn3_206><td class="source">function! s:AcceptFile(splitWin, key)<br></td></tr
><tr
id=sl_svn3_207><td class="source">  if s:popupIsHidden<br></td></tr
><tr
id=sl_svn3_208><td class="source">    return a:key<br></td></tr
><tr
id=sl_svn3_209><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_210><td class="source">  if !pumvisible()<br></td></tr
><tr
id=sl_svn3_211><td class="source">    call lookupfile#LookupFile(0, 1)<br></td></tr
><tr
id=sl_svn3_212><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_213><td class="source">  let acceptCmd = &#39;&#39;<br></td></tr
><tr
id=sl_svn3_214><td class="source">  if type(g:LookupFile_LookupAcceptFunc) == 2 ||<br></td></tr
><tr
id=sl_svn3_215><td class="source">        \ (type(g:LookupFile_LookupAcceptFunc) == 1 &amp;&amp;<br></td></tr
><tr
id=sl_svn3_216><td class="source">        \  substitute(g:LookupFile_LookupAcceptFunc, &#39;\s&#39;, &#39;&#39;, &#39;g&#39;) != &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_217><td class="source">    let acceptCmd = call(g:LookupFile_LookupAcceptFunc, [a:splitWin, a:key])<br></td></tr
><tr
id=sl_svn3_218><td class="source">  else<br></td></tr
><tr
id=sl_svn3_219><td class="source">    let acceptCmd = lookupfile#AcceptFile(a:splitWin, a:key)<br></td></tr
><tr
id=sl_svn3_220><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_221><td class="source"><br></td></tr
><tr
id=sl_svn3_222><td class="source">  return (!pumvisible() ? &quot;\&lt;C-X&gt;\&lt;C-U&gt;&quot; : &#39;&#39;).acceptCmd<br></td></tr
><tr
id=sl_svn3_223><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_224><td class="source"><br></td></tr
><tr
id=sl_svn3_225><td class="source">function! s:IsValid(fileName)<br></td></tr
><tr
id=sl_svn3_226><td class="source">  if bufnr(&#39;%&#39;) != s:myBufNum || a:fileName == &#39;&#39;<br></td></tr
><tr
id=sl_svn3_227><td class="source">    return 0<br></td></tr
><tr
id=sl_svn3_228><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_229><td class="source">  if !filereadable(a:fileName) &amp;&amp; !isdirectory(a:fileName)<br></td></tr
><tr
id=sl_svn3_230><td class="source">    if g:LookupFile_AllowNewFiles<br></td></tr
><tr
id=sl_svn3_231><td class="source">      &quot; Check if the parent directory exists, then we can create a new buffer<br></td></tr
><tr
id=sl_svn3_232><td class="source">      &quot; (Ido feature)<br></td></tr
><tr
id=sl_svn3_233><td class="source">      let parent = fnamemodify(a:fileName, &#39;:h&#39;)<br></td></tr
><tr
id=sl_svn3_234><td class="source">      if parent == &#39;&#39; || (parent != &#39;&#39; &amp;&amp; !isdirectory(parent))<br></td></tr
><tr
id=sl_svn3_235><td class="source">        return 1<br></td></tr
><tr
id=sl_svn3_236><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_237><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_238><td class="source">    return 0<br></td></tr
><tr
id=sl_svn3_239><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_240><td class="source">  return 1<br></td></tr
><tr
id=sl_svn3_241><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_242><td class="source"><br></td></tr
><tr
id=sl_svn3_243><td class="source">function! lookupfile#AcceptFile(splitWin, key)<br></td></tr
><tr
id=sl_svn3_244><td class="source">  if len(g:lookupfile#lastResults) == 0 &amp;&amp; !s:IsValid(getline(&#39;.&#39;))<br></td></tr
><tr
id=sl_svn3_245><td class="source">    return &quot;\&lt;C-O&gt;:echohl ErrorMsg | echo &#39;No such file or directory&#39; | echohl NONE\&lt;CR&gt;&quot;<br></td></tr
><tr
id=sl_svn3_246><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_247><td class="source"><br></td></tr
><tr
id=sl_svn3_248><td class="source">  &quot; Skip the first match, which is essentially the same as pattern.<br></td></tr
><tr
id=sl_svn3_249><td class="source">  let nextCmd = &quot;\&lt;C-N&gt;\&lt;C-R&gt;=(getline(&#39;.&#39;) == lookupfile#lastPattern)?\&quot;\\&lt;C-N&gt;\&quot;:&#39;&#39;\&lt;CR&gt;&quot;<br></td></tr
><tr
id=sl_svn3_250><td class="source">  let acceptCmd = &quot;\&lt;C-Y&gt;\&lt;Esc&gt;:AddPattern\&lt;CR&gt;:OpenFile&quot;.(a:splitWin?&#39;!&#39;:&#39;&#39;).<br></td></tr
><tr
id=sl_svn3_251><td class="source">        \ &quot;\&lt;CR&gt;&quot;<br></td></tr
><tr
id=sl_svn3_252><td class="source">  if getline(&#39;.&#39;) ==# g:lookupfile#lastPattern<br></td></tr
><tr
id=sl_svn3_253><td class="source">    if len(g:lookupfile#lastResults) == 0<br></td></tr
><tr
id=sl_svn3_254><td class="source">      &quot; FIXME: shouldn&#39;t this be an error?<br></td></tr
><tr
id=sl_svn3_255><td class="source">      let acceptCmd = acceptCmd<br></td></tr
><tr
id=sl_svn3_256><td class="source">    elseif len(g:lookupfile#lastResults) == 1 || g:LookupFile_AlwaysAcceptFirst<br></td></tr
><tr
id=sl_svn3_257><td class="source">      &quot; If there is only one file, we will also select it (if not already<br></td></tr
><tr
id=sl_svn3_258><td class="source">      &quot; selected)<br></td></tr
><tr
id=sl_svn3_259><td class="source">      let acceptCmd = nextCmd.acceptCmd<br></td></tr
><tr
id=sl_svn3_260><td class="source">    else<br></td></tr
><tr
id=sl_svn3_261><td class="source">      let acceptCmd = nextCmd<br></td></tr
><tr
id=sl_svn3_262><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_263><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_264><td class="source"><br></td></tr
><tr
id=sl_svn3_265><td class="source">  return acceptCmd<br></td></tr
><tr
id=sl_svn3_266><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_267><td class="source"><br></td></tr
><tr
id=sl_svn3_268><td class="source">function! s:OpenCurFile(splitWin)<br></td></tr
><tr
id=sl_svn3_269><td class="source">  let fileName = getline(&#39;.&#39;)<br></td></tr
><tr
id=sl_svn3_270><td class="source">  if fileName =~ &#39;^\s*$&#39;<br></td></tr
><tr
id=sl_svn3_271><td class="source">    return<br></td></tr
><tr
id=sl_svn3_272><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_273><td class="source">  if !s:IsValid(fileName)<br></td></tr
><tr
id=sl_svn3_274><td class="source">    echohl ErrorMsg | echo &#39;No such file or directory&#39; | echohl NONE<br></td></tr
><tr
id=sl_svn3_275><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_276><td class="source"><br></td></tr
><tr
id=sl_svn3_277><td class="source">  if type(g:LookupFile_LookupNotifyFunc) == 2 ||<br></td></tr
><tr
id=sl_svn3_278><td class="source">        \ (type(g:LookupFile_LookupNotifyFunc) == 1 &amp;&amp;<br></td></tr
><tr
id=sl_svn3_279><td class="source">        \  substitute(g:LookupFile_LookupNotifyFunc, &#39;\s&#39;, &#39;&#39;, &#39;g&#39;) != &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_280><td class="source">    call call(g:LookupFile_LookupNotifyFunc, [])<br></td></tr
><tr
id=sl_svn3_281><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_282><td class="source">  call lookupfile#CloseWindow()<br></td></tr
><tr
id=sl_svn3_283><td class="source"><br></td></tr
><tr
id=sl_svn3_284><td class="source">  &quot; Update the recent files list.<br></td></tr
><tr
id=sl_svn3_285><td class="source">  if g:LookupFile_RecentFileListSize &gt; 0<br></td></tr
><tr
id=sl_svn3_286><td class="source">    let curPos = index(g:lookupfile#recentFiles, fileName)<br></td></tr
><tr
id=sl_svn3_287><td class="source">    call add(g:lookupfile#recentFiles, fileName)<br></td></tr
><tr
id=sl_svn3_288><td class="source">    if curPos != -1<br></td></tr
><tr
id=sl_svn3_289><td class="source">      call remove(g:lookupfile#recentFiles, curPos)<br></td></tr
><tr
id=sl_svn3_290><td class="source">    elseif len(g:lookupfile#recentFiles) &gt; g:LookupFile_RecentFileListSize<br></td></tr
><tr
id=sl_svn3_291><td class="source">      let g:lookupfile#recentFiles = g:lookupfile#recentFiles[<br></td></tr
><tr
id=sl_svn3_292><td class="source">            \ -g:LookupFile_RecentFileListSize :]<br></td></tr
><tr
id=sl_svn3_293><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_294><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_295><td class="source"><br></td></tr
><tr
id=sl_svn3_296><td class="source">  let bufnr = genutils#FindBufferForName(fileName)<br></td></tr
><tr
id=sl_svn3_297><td class="source">  let winnr = bufwinnr(bufnr)<br></td></tr
><tr
id=sl_svn3_298><td class="source">  if winnr == -1 &amp;&amp; g:LookupFile_SearchForBufsInTabs<br></td></tr
><tr
id=sl_svn3_299><td class="source">      for i in range(tabpagenr(&#39;$&#39;))<br></td></tr
><tr
id=sl_svn3_300><td class="source">        if index(tabpagebuflist(i+1), bufnr) != -1<br></td></tr
><tr
id=sl_svn3_301><td class="source">          &quot; Switch to the tab and set winnr.<br></td></tr
><tr
id=sl_svn3_302><td class="source">          exec &#39;tabnext&#39; (i+1)<br></td></tr
><tr
id=sl_svn3_303><td class="source">          let winnr = bufwinnr(bufnr)<br></td></tr
><tr
id=sl_svn3_304><td class="source">        endif<br></td></tr
><tr
id=sl_svn3_305><td class="source">    endfor<br></td></tr
><tr
id=sl_svn3_306><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_307><td class="source">  if winnr != -1<br></td></tr
><tr
id=sl_svn3_308><td class="source">    exec winnr.&#39;wincmd w&#39;<br></td></tr
><tr
id=sl_svn3_309><td class="source">  else<br></td></tr
><tr
id=sl_svn3_310><td class="source">    let splitOpen = 0<br></td></tr
><tr
id=sl_svn3_311><td class="source">    if &amp;switchbuf ==# &#39;split&#39; || a:splitWin<br></td></tr
><tr
id=sl_svn3_312><td class="source">      let splitOpen = 1<br></td></tr
><tr
id=sl_svn3_313><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_314><td class="source">    &quot; First try opening as a buffer, if it fails, we will open as a file.<br></td></tr
><tr
id=sl_svn3_315><td class="source">    try<br></td></tr
><tr
id=sl_svn3_316><td class="source">      if bufnr == -1<br></td></tr
><tr
id=sl_svn3_317><td class="source">        throw &#39;&#39;<br></td></tr
><tr
id=sl_svn3_318><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_319><td class="source">      exec (splitOpen?&#39;s&#39;:&#39;&#39;).&#39;buffer&#39; bufnr<br></td></tr
><tr
id=sl_svn3_320><td class="source">    catch /^Vim\%((\a\+)\)\=:E325/<br></td></tr
><tr
id=sl_svn3_321><td class="source">      &quot; Ignore, this anyway means the file was found.<br></td></tr
><tr
id=sl_svn3_322><td class="source">    catch<br></td></tr
><tr
id=sl_svn3_323><td class="source">      try<br></td></tr
><tr
id=sl_svn3_324><td class="source">        exec (splitOpen?&#39;split&#39;:&#39;edit&#39;) fileName<br></td></tr
><tr
id=sl_svn3_325><td class="source">      catch /^Vim\%((\a\+)\)\=:E325/<br></td></tr
><tr
id=sl_svn3_326><td class="source">        &quot; Ignore, this anyway means the file was found.<br></td></tr
><tr
id=sl_svn3_327><td class="source">      endtry<br></td></tr
><tr
id=sl_svn3_328><td class="source">    endtry<br></td></tr
><tr
id=sl_svn3_329><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_330><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_331><td class="source"><br></td></tr
><tr
id=sl_svn3_332><td class="source">function! s:ShowFiller()<br></td></tr
><tr
id=sl_svn3_333><td class="source">  return lookupfile#LookupFile(1)<br></td></tr
><tr
id=sl_svn3_334><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_335><td class="source"><br></td></tr
><tr
id=sl_svn3_336><td class="source">function! lookupfile#Complete(findstart, base)<br></td></tr
><tr
id=sl_svn3_337><td class="source">  if a:findstart<br></td></tr
><tr
id=sl_svn3_338><td class="source">    return 0<br></td></tr
><tr
id=sl_svn3_339><td class="source">  else<br></td></tr
><tr
id=sl_svn3_340><td class="source">    call lookupfile#LookupFile(0, 1, a:base)<br></td></tr
><tr
id=sl_svn3_341><td class="source">    return g:lookupfile#lastStatsMsg+g:lookupfile#lastResults<br></td></tr
><tr
id=sl_svn3_342><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_343><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_344><td class="source"><br></td></tr
><tr
id=sl_svn3_345><td class="source">function! lookupfile#LookupFile(showingFiller, ...)<br></td></tr
><tr
id=sl_svn3_346><td class="source">  let generateMode = (a:0 == 0 ? 0 : a:1)<br></td></tr
><tr
id=sl_svn3_347><td class="source">  if generateMode<br></td></tr
><tr
id=sl_svn3_348><td class="source">    let pattern = (a:0 &gt; 1) ? a:2 : getline(&#39;.&#39;)<br></td></tr
><tr
id=sl_svn3_349><td class="source">  else<br></td></tr
><tr
id=sl_svn3_350><td class="source">    let pattern = getline(&#39;.&#39;)<br></td></tr
><tr
id=sl_svn3_351><td class="source">    &quot; The normal completion behavior is to stop completion when cursor is moved.<br></td></tr
><tr
id=sl_svn3_352><td class="source">    if col(&#39;.&#39;) == 1 || (col(&#39;.&#39;) != col(&#39;$&#39;))<br></td></tr
><tr
id=sl_svn3_353><td class="source">      return &#39;&#39;<br></td></tr
><tr
id=sl_svn3_354><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_355><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_356><td class="source">  if pattern == &#39;&#39; || (pattern ==# g:lookupfile#lastPattern &amp;&amp; pumvisible())<br></td></tr
><tr
id=sl_svn3_357><td class="source">    return &#39;&#39;<br></td></tr
><tr
id=sl_svn3_358><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_359><td class="source"><br></td></tr
><tr
id=sl_svn3_360><td class="source">  if s:popupIsHidden &amp;&amp; g:lookupfile#lastPattern ==# pattern<br></td></tr
><tr
id=sl_svn3_361><td class="source">    return &#39;&#39;<br></td></tr
><tr
id=sl_svn3_362><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_363><td class="source">  let s:popupIsHidden = 0<br></td></tr
><tr
id=sl_svn3_364><td class="source"><br></td></tr
><tr
id=sl_svn3_365><td class="source">  let statusMsg = &#39;&#39;<br></td></tr
><tr
id=sl_svn3_366><td class="source">  if pattern == &#39; &#39;<br></td></tr
><tr
id=sl_svn3_367><td class="source">    if len(g:lookupfile#recentFiles) == 0<br></td></tr
><tr
id=sl_svn3_368><td class="source">      let statusMsg = &#39;&lt;&lt;&lt; No recent files &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_369><td class="source">      let files = []<br></td></tr
><tr
id=sl_svn3_370><td class="source">    else<br></td></tr
><tr
id=sl_svn3_371><td class="source">      let statusMsg = &#39;&lt;&lt;&lt; Showing &#39;.len(g:lookupfile#recentFiles).&#39; recent files &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_372><td class="source">      let files = reverse(copy(g:lookupfile#recentFiles))<br></td></tr
><tr
id=sl_svn3_373><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_374><td class="source">  elseif strlen(pattern) &lt; g:LookupFile_MinPatLength<br></td></tr
><tr
id=sl_svn3_375><td class="source">    let statusMsg = &#39;&lt;&lt;&lt; Type at least &#39;.g:LookupFile_MinPatLength.<br></td></tr
><tr
id=sl_svn3_376><td class="source">          \ &#39; characters &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_377><td class="source">    let files = []<br></td></tr
><tr
id=sl_svn3_378><td class="source">  &quot; We ignore filler when we have the result in hand.<br></td></tr
><tr
id=sl_svn3_379><td class="source">  elseif g:lookupfile#lastPattern ==# pattern<br></td></tr
><tr
id=sl_svn3_380><td class="source">    &quot; This helps at every startup as we start with the previous pattern.<br></td></tr
><tr
id=sl_svn3_381><td class="source">    let files = g:lookupfile#lastResults<br></td></tr
><tr
id=sl_svn3_382><td class="source">  elseif a:showingFiller<br></td></tr
><tr
id=sl_svn3_383><td class="source">    &quot; Just show a filler and return. We could return this as the only match, but<br></td></tr
><tr
id=sl_svn3_384><td class="source">    &quot; unless &#39;completeopt&#39; has &quot;menuone&quot;, menu doesn&#39;t get shown.<br></td></tr
><tr
id=sl_svn3_385><td class="source">    let statusMsg = &#39;&lt;&lt;&lt; Looking up files... hit ^C to break &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_386><td class="source">    let files = []<br></td></tr
><tr
id=sl_svn3_387><td class="source">  else<br></td></tr
><tr
id=sl_svn3_388><td class="source">    if type(g:LookupFile_LookupFunc) == 2 ||<br></td></tr
><tr
id=sl_svn3_389><td class="source">          \ (type(g:LookupFile_LookupFunc) == 1 &amp;&amp;<br></td></tr
><tr
id=sl_svn3_390><td class="source">          \  substitute(g:LookupFile_LookupFunc, &#39;\s&#39;, &#39;&#39;, &#39;g&#39;) != &#39;&#39;)<br></td></tr
><tr
id=sl_svn3_391><td class="source">      let files = call(g:LookupFile_LookupFunc, [pattern])<br></td></tr
><tr
id=sl_svn3_392><td class="source">    else<br></td></tr
><tr
id=sl_svn3_393><td class="source">      let _tags = &amp;tags<br></td></tr
><tr
id=sl_svn3_394><td class="source">      try<br></td></tr
><tr
id=sl_svn3_395><td class="source">        let &amp;tags = eval(g:LookupFile_TagExpr)<br></td></tr
><tr
id=sl_svn3_396><td class="source">        let taglist = taglist(g:LookupFile_TagsExpandCamelCase ?<br></td></tr
><tr
id=sl_svn3_397><td class="source">              \ lookupfile#ExpandCamelCase(pattern) : pattern)<br></td></tr
><tr
id=sl_svn3_398><td class="source">      catch<br></td></tr
><tr
id=sl_svn3_399><td class="source">        echohl ErrorMsg | echo &quot;Exception: &quot; . v:exception | echohl NONE<br></td></tr
><tr
id=sl_svn3_400><td class="source">        return &#39;&#39;<br></td></tr
><tr
id=sl_svn3_401><td class="source">      finally<br></td></tr
><tr
id=sl_svn3_402><td class="source">        let &amp;tags = _tags<br></td></tr
><tr
id=sl_svn3_403><td class="source">      endtry<br></td></tr
><tr
id=sl_svn3_404><td class="source"><br></td></tr
><tr
id=sl_svn3_405><td class="source">      &quot; Show the matches for what is typed so far.<br></td></tr
><tr
id=sl_svn3_406><td class="source">      if g:LookupFile_UsingSpecializedTags<br></td></tr
><tr
id=sl_svn3_407><td class="source">        let files = map(taglist, &#39;{&#39;.<br></td></tr
><tr
id=sl_svn3_408><td class="source">              \ &#39;&quot;word&quot;: fnamemodify(v:val[&quot;filename&quot;], &quot;:p&quot;), &#39;.<br></td></tr
><tr
id=sl_svn3_409><td class="source">              \ &#39;&quot;abbr&quot;: v:val[&quot;name&quot;], &#39;.<br></td></tr
><tr
id=sl_svn3_410><td class="source">              \ &#39;&quot;menu&quot;: fnamemodify(v:val[&quot;filename&quot;], &quot;:h&quot;), &#39;.<br></td></tr
><tr
id=sl_svn3_411><td class="source">              \ &#39;&quot;dup&quot;: 1, &#39;.<br></td></tr
><tr
id=sl_svn3_412><td class="source">              \ &#39;}&#39;)<br></td></tr
><tr
id=sl_svn3_413><td class="source">      else<br></td></tr
><tr
id=sl_svn3_414><td class="source">        let files = map(taglist, &#39;fnamemodify(v:val[&quot;filename&quot;], &quot;:p&quot;)&#39;)<br></td></tr
><tr
id=sl_svn3_415><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_416><td class="source">    endif<br></td></tr
></table></pre>

<pre class="prettyprint "><table><tr
id=sl_svn3_417><td class="source"><br></td></tr
><tr
id=sl_svn3_418><td class="source">    let pat = g:LookupFile_FileFilter<br></td></tr
><tr
id=sl_svn3_419><td class="source">    if pat != &#39;&#39;<br></td></tr
><tr
id=sl_svn3_420><td class="source">      call filter(files, &#39;(type(v:val) == 4) ? v:val[&quot;word&quot;] !~ pat : v:val !~ pat&#39;)<br></td></tr
><tr
id=sl_svn3_421><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_422><td class="source"><br></td></tr
><tr
id=sl_svn3_423><td class="source">    if g:LookupFile_SortMethod ==# &#39;alpha&#39;<br></td></tr
><tr
id=sl_svn3_424><td class="source">      &quot; When UsingSpecializedTags, sort by the actual name (Timothy, Guo<br></td></tr
><tr
id=sl_svn3_425><td class="source">      &quot; (firemeteor dot guo at gmail dot com)).<br></td></tr
><tr
id=sl_svn3_426><td class="source">      if type(get(files, 0)) == 4<br></td></tr
><tr
id=sl_svn3_427><td class="source">        call sort(files, &quot;s:CmpByName&quot;)<br></td></tr
><tr
id=sl_svn3_428><td class="source">      else<br></td></tr
><tr
id=sl_svn3_429><td class="source">        call sort(files)<br></td></tr
><tr
id=sl_svn3_430><td class="source">      endif<br></td></tr
><tr
id=sl_svn3_431><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_432><td class="source">    let g:lookupfile#lastPattern = pattern<br></td></tr
><tr
id=sl_svn3_433><td class="source">    let g:lookupfile#lastResults = files<br></td></tr
><tr
id=sl_svn3_434><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_435><td class="source">  if statusMsg == &#39;&#39;<br></td></tr
><tr
id=sl_svn3_436><td class="source">    if len(files) &gt; 0<br></td></tr
><tr
id=sl_svn3_437><td class="source">      let statusMsg = &#39;&lt;&lt;&lt; &#39;.len(files).&#39; Matching &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_438><td class="source">    else<br></td></tr
><tr
id=sl_svn3_439><td class="source">      let statusMsg = &#39;&lt;&lt;&lt; None Matching &gt;&gt;&gt;&#39;<br></td></tr
><tr
id=sl_svn3_440><td class="source">    endif<br></td></tr
><tr
id=sl_svn3_441><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_442><td class="source">  let msgLine = [{&#39;word&#39;: pattern, &#39;abbr&#39;: statusMsg, &#39;menu&#39;: pattern}]<br></td></tr
><tr
id=sl_svn3_443><td class="source">  let g:lookupfile#lastStatsMsg = msgLine<br></td></tr
><tr
id=sl_svn3_444><td class="source">  if !generateMode<br></td></tr
><tr
id=sl_svn3_445><td class="source">    call complete(1, msgLine+files)<br></td></tr
><tr
id=sl_svn3_446><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_447><td class="source">  return &#39;&#39;<br></td></tr
><tr
id=sl_svn3_448><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_449><td class="source"><br></td></tr
><tr
id=sl_svn3_450><td class="source">function! lookupfile#ExpandCamelCase(str)<br></td></tr
><tr
id=sl_svn3_451><td class="source">  let pat = a:str<br></td></tr
><tr
id=sl_svn3_452><td class="source">  &quot; Check if there are at least two consecutive uppercase letters to turn on<br></td></tr
><tr
id=sl_svn3_453><td class="source">  &quot; the CamelCase expansion.<br></td></tr
><tr
id=sl_svn3_454><td class="source">  if match(a:str, &#39;\u\u&#39;) != -1<br></td></tr
><tr
id=sl_svn3_455><td class="source">    let pat = &#39;\C&#39;.substitute(a:str, &#39;\u\+&#39;,<br></td></tr
><tr
id=sl_svn3_456><td class="source">          \ &#39;\=substitute(submatch(0), &quot;.&quot;, &#39;.&quot;&#39;&quot;.&#39;&amp;\\U*&#39;.&quot;&#39;&quot;.&#39;, &quot;g&quot;)&#39;, &#39;g&#39;)<br></td></tr
><tr
id=sl_svn3_457><td class="source">    let @*=pat<br></td></tr
><tr
id=sl_svn3_458><td class="source">  endif<br></td></tr
><tr
id=sl_svn3_459><td class="source">  return pat<br></td></tr
><tr
id=sl_svn3_460><td class="source">endfunction<br></td></tr
><tr
id=sl_svn3_461><td class="source"><br></td></tr
><tr
id=sl_svn3_462><td class="source">function! s:CmpByName(i1, i2)<br></td></tr
><tr
id=sl_svn3_463><td class="source">  let ileft = a:i1[&quot;abbr&quot;]<br></td></tr
><tr
id=sl_svn3_464><td class="source">  let iright = a:i2[&quot;abbr&quot;]<br></td></tr
><tr
id=sl_svn3_465><td class="source">  return ileft == iright ? 0 : ileft &gt; iright ? 1 : -1<br></td></tr
><tr
id=sl_svn3_466><td class="source">endfunc<br></td></tr
><tr
id=sl_svn3_467><td class="source"><br></td></tr
><tr
id=sl_svn3_468><td class="source">&quot; Restore cpo.<br></td></tr
><tr
id=sl_svn3_469><td class="source">let &amp;cpo = s:save_cpo<br></td></tr
><tr
id=sl_svn3_470><td class="source">unlet s:save_cpo<br></td></tr
><tr
id=sl_svn3_471><td class="source"><br></td></tr
><tr
id=sl_svn3_472><td class="source">&quot; vim6:fdm=marker et sw=2<br></td></tr
></table></pre>

<pre class="prettyprint"><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>
</td>
</tr></table>



 <div id="log">
 <div style="text-align:right">
 <a class="ifCollapse" href="#" onclick="_toggleMeta('', 'p', 'dennisvim', this)">Show details</a>
 <a class="ifExpand" href="#" onclick="_toggleMeta('', 'p', 'dennisvim', this)">Hide details</a>
 </div>
 <div class="ifExpand">
 
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="changelog">
 <p>Change log</p>
 <div>
 <a href="/p/dennisvim/source/detail?spec=svn25&r=3">r3</a>
 by shangxindu
 on Apr 13, 2010
 &nbsp; <a href="/p/dennisvim/source/diff?spec=svn25&r=3&amp;format=side&amp;path=/trunk/autoload/lookupfile.vim&amp;old_path=/trunk/autoload/lookupfile.vim&amp;old=">Diff</a>
 </div>
 <pre>[No log message]</pre>
 </div>
 
 
 
 
 
 
 <script type="text/javascript">
 var detail_url = '/p/dennisvim/source/detail?r=3&spec=svn25';
 var publish_url = '/p/dennisvim/source/detail?r=3&spec=svn25#publish';
 // describe the paths of this revision in javascript.
 var changed_paths = [];
 var changed_urls = [];
 
 changed_paths.push('/trunk/autoload');
 changed_urls.push('/p/dennisvim/source/browse/trunk/autoload?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/autoload/genutils.vim');
 changed_urls.push('/p/dennisvim/source/browse/trunk/autoload/genutils.vim?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/autoload/lookupfile.vim');
 changed_urls.push('/p/dennisvim/source/browse/trunk/autoload/lookupfile.vim?r=3&spec=svn25');
 
 var selected_path = '/trunk/autoload/lookupfile.vim';
 
 
 changed_paths.push('/trunk/c-support');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/Makefile');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/Makefile?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/Makefile.multi-target.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/Makefile.multi-target.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/calloc_double_matrix.c');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/calloc_double_matrix.c?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/calloc_int_matrix.c');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/calloc_int_matrix.c?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/main.c');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/main.c?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/main.cc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/main.cc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/print_array.cc.noindent');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_array.cc.noindent?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/print_double_array.c.noindent');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_double_array.c.noindent?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/codesnippets/print_int_array.c.noindent');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_int_array.c.noindent?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/doc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/doc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/doc/ChangeLog');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/doc/ChangeLog?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/doc/c-hotkeys.pdf');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/doc/c-hotkeys.pdf?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/doc/c-hotkeys.tex');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/doc/c-hotkeys.tex?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/rc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/rc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/rc/customization.ctags');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/rc/customization.ctags?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/rc/customization.gvimrc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/rc/customization.gvimrc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/rc/customization.indent.pro');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/rc/customization.indent.pro?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/rc/customization.vimrc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/rc/customization.vimrc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/scripts');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/scripts?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/scripts/wrapper.sh');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/scripts/wrapper.sh?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/Templates');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/Templates?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/c.comments.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/c.comments.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/c.cpp.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/c.cpp.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/c.idioms.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/c.idioms.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/c.preprocessor.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/c.preprocessor.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/c.statements.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/c.statements.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/cpp.comments.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/cpp.comments.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/cpp.cpp.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/cpp.cpp.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/cpp.idioms.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/cpp.idioms.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/cpp.preprocessor.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/cpp.preprocessor.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/templates/cpp.statements.template');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/templates/cpp.statements.template?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/wordlists');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/wordlists?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/wordlists/c-c++-keywords.list');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/wordlists/c-c++-keywords.list?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/wordlists/k+r.list');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/wordlists/k+r.list?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/c-support/wordlists/stl_index.list');
 changed_urls.push('/p/dennisvim/source/browse/trunk/c-support/wordlists/stl_index.list?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/colors');
 changed_urls.push('/p/dennisvim/source/browse/trunk/colors?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/colors/oceandeep.vim');
 changed_urls.push('/p/dennisvim/source/browse/trunk/colors/oceandeep.vim?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/doc');
 changed_urls.push('/p/dennisvim/source/browse/trunk/doc?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/doc/csupport.txt');
 changed_urls.push('/p/dennisvim/source/browse/trunk/doc/csupport.txt?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/doc/lookupfile.txt');
 changed_urls.push('/p/dennisvim/source/browse/trunk/doc/lookupfile.txt?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/ftplugin');
 changed_urls.push('/p/dennisvim/source/browse/trunk/ftplugin?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/ftplugin/c.vim');
 changed_urls.push('/p/dennisvim/source/browse/trunk/ftplugin/c.vim?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/plugin');
 changed_urls.push('/p/dennisvim/source/browse/trunk/plugin?r=3&spec=svn25');
 
 
 changed_paths.push('/trunk/plugin/c.vim');
 changed_urls.push('/p/dennisvim/source/browse/trunk/plugin/c.vim?r=3&spec=svn25');
 
 
 function getCurrentPageIndex() {
 for (var i = 0; i < changed_paths.length; i++) {
 if (selected_path == changed_paths[i]) {
 return i;
 }
 }
 }
 function getNextPage() {
 var i = getCurrentPageIndex();
 if (i < changed_paths.length - 1) {
 return changed_urls[i + 1];
 }
 return null;
 }
 function getPreviousPage() {
 var i = getCurrentPageIndex();
 if (i > 0) {
 return changed_urls[i - 1];
 }
 return null;
 }
 function gotoNextPage() {
 var page = getNextPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoPreviousPage() {
 var page = getPreviousPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoDetailPage() {
 window.location = detail_url;
 }
 function gotoPublishPage() {
 window.location = publish_url;
 }
</script>
 
 <style type="text/css">
 #review_nav {
 border-top: 3px solid white;
 padding-top: 6px;
 margin-top: 1em;
 }
 #review_nav td {
 vertical-align: middle;
 }
 #review_nav select {
 margin: .5em 0;
 }
 </style>
 <div id="review_nav">
 <table><tr><td>Go to:&nbsp;</td><td>
 <select name="files_in_rev" onchange="window.location=this.value">
 
 <option value="/p/dennisvim/source/browse/trunk/autoload?r=3&amp;spec=svn25"
 
 >/trunk/autoload</option>
 
 <option value="/p/dennisvim/source/browse/trunk/autoload/genutils.vim?r=3&amp;spec=svn25"
 
 >/trunk/autoload/genutils.vim</option>
 
 <option value="/p/dennisvim/source/browse/trunk/autoload/lookupfile.vim?r=3&amp;spec=svn25"
 selected="selected"
 >/trunk/autoload/lookupfile.vim</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support?r=3&amp;spec=svn25"
 
 >/trunk/c-support</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets?r=3&amp;spec=svn25"
 
 >/trunk/c-support/codesnippets</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/Makefile?r=3&amp;spec=svn25"
 
 >.../c-support/codesnippets/Makefile</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/Makefile.multi-target.template?r=3&amp;spec=svn25"
 
 >...s/Makefile.multi-target.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/calloc_double_matrix.c?r=3&amp;spec=svn25"
 
 >...esnippets/calloc_double_matrix.c</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/calloc_int_matrix.c?r=3&amp;spec=svn25"
 
 >...codesnippets/calloc_int_matrix.c</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/main.c?r=3&amp;spec=svn25"
 
 >...nk/c-support/codesnippets/main.c</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/main.cc?r=3&amp;spec=svn25"
 
 >...k/c-support/codesnippets/main.cc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_array.cc.noindent?r=3&amp;spec=svn25"
 
 >...snippets/print_array.cc.noindent</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_double_array.c.noindent?r=3&amp;spec=svn25"
 
 >...ts/print_double_array.c.noindent</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/codesnippets/print_int_array.c.noindent?r=3&amp;spec=svn25"
 
 >...ppets/print_int_array.c.noindent</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/doc?r=3&amp;spec=svn25"
 
 >/trunk/c-support/doc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/doc/ChangeLog?r=3&amp;spec=svn25"
 
 >/trunk/c-support/doc/ChangeLog</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/doc/c-hotkeys.pdf?r=3&amp;spec=svn25"
 
 >/trunk/c-support/doc/c-hotkeys.pdf</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/doc/c-hotkeys.tex?r=3&amp;spec=svn25"
 
 >/trunk/c-support/doc/c-hotkeys.tex</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/rc?r=3&amp;spec=svn25"
 
 >/trunk/c-support/rc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/rc/customization.ctags?r=3&amp;spec=svn25"
 
 >...c-support/rc/customization.ctags</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/rc/customization.gvimrc?r=3&amp;spec=svn25"
 
 >...-support/rc/customization.gvimrc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/rc/customization.indent.pro?r=3&amp;spec=svn25"
 
 >...port/rc/customization.indent.pro</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/rc/customization.vimrc?r=3&amp;spec=svn25"
 
 >...c-support/rc/customization.vimrc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/scripts?r=3&amp;spec=svn25"
 
 >/trunk/c-support/scripts</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/scripts/wrapper.sh?r=3&amp;spec=svn25"
 
 >/trunk/c-support/scripts/wrapper.sh</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates?r=3&amp;spec=svn25"
 
 >/trunk/c-support/templates</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/Templates?r=3&amp;spec=svn25"
 
 >...nk/c-support/templates/Templates</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/c.comments.template?r=3&amp;spec=svn25"
 
 >...rt/templates/c.comments.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/c.cpp.template?r=3&amp;spec=svn25"
 
 >...support/templates/c.cpp.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/c.idioms.template?r=3&amp;spec=svn25"
 
 >...port/templates/c.idioms.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/c.preprocessor.template?r=3&amp;spec=svn25"
 
 >...emplates/c.preprocessor.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/c.statements.template?r=3&amp;spec=svn25"
 
 >.../templates/c.statements.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/cpp.comments.template?r=3&amp;spec=svn25"
 
 >.../templates/cpp.comments.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/cpp.cpp.template?r=3&amp;spec=svn25"
 
 >...pport/templates/cpp.cpp.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/cpp.idioms.template?r=3&amp;spec=svn25"
 
 >...rt/templates/cpp.idioms.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/cpp.preprocessor.template?r=3&amp;spec=svn25"
 
 >...plates/cpp.preprocessor.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/templates/cpp.statements.template?r=3&amp;spec=svn25"
 
 >...emplates/cpp.statements.template</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/wordlists?r=3&amp;spec=svn25"
 
 >/trunk/c-support/wordlists</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/wordlists/c-c++-keywords.list?r=3&amp;spec=svn25"
 
 >...rt/wordlists/c-c++-keywords.list</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/wordlists/k+r.list?r=3&amp;spec=svn25"
 
 >/trunk/c-support/wordlists/k+r.list</option>
 
 <option value="/p/dennisvim/source/browse/trunk/c-support/wordlists/stl_index.list?r=3&amp;spec=svn25"
 
 >...support/wordlists/stl_index.list</option>
 
 <option value="/p/dennisvim/source/browse/trunk/colors?r=3&amp;spec=svn25"
 
 >/trunk/colors</option>
 
 <option value="/p/dennisvim/source/browse/trunk/colors/oceandeep.vim?r=3&amp;spec=svn25"
 
 >/trunk/colors/oceandeep.vim</option>
 
 <option value="/p/dennisvim/source/browse/trunk/doc?r=3&amp;spec=svn25"
 
 >/trunk/doc</option>
 
 <option value="/p/dennisvim/source/browse/trunk/doc/csupport.txt?r=3&amp;spec=svn25"
 
 >/trunk/doc/csupport.txt</option>
 
 <option value="/p/dennisvim/source/browse/trunk/doc/lookupfile.txt?r=3&amp;spec=svn25"
 
 >/trunk/doc/lookupfile.txt</option>
 
 <option value="/p/dennisvim/source/browse/trunk/ftplugin?r=3&amp;spec=svn25"
 
 >/trunk/ftplugin</option>
 
 <option value="/p/dennisvim/source/browse/trunk/ftplugin/c.vim?r=3&amp;spec=svn25"
 
 >/trunk/ftplugin/c.vim</option>
 
 <option value="/p/dennisvim/source/browse/trunk/plugin?r=3&amp;spec=svn25"
 
 >/trunk/plugin</option>
 
 <option value="/p/dennisvim/source/browse/trunk/plugin/c.vim?r=3&amp;spec=svn25"
 
 >/trunk/plugin/c.vim</option>
 
 </select>
 </td></tr></table>
 
 
 
 <div id="review_instr" class="closed">
 <a class="ifOpened" href="/p/dennisvim/source/detail?r=3&spec=svn25#publish">Publish your comments</a>
 <div class="ifClosed">Double click a line to add a comment</div>
 </div>
 
 </div>
 
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="older_bubble">
 <p>Older revisions</p>
 
 <a href="/p/dennisvim/source/list?path=/trunk/autoload/lookupfile.vim&start=3">All revisions of this file</a>
 </div>
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="fileinfo_bubble">
 <p>File info</p>
 
 <div>Size: 14536 bytes,
 472 lines</div>
 
 <div><a href="http://dennisvim.googlecode.com/svn/trunk/autoload/lookupfile.vim">View raw file</a></div>
 </div>
 
 <div id="props">
 <p>File properties</p>
 <dl>
 
 <dt>svn:executable</dt>
 <dd>*</dd>
 
 </dl>
 </div>
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 </div>
 </div>


</div>
</div>

<script src="http://www.gstatic.com/codesite/ph/11982002900633812604/js/source_file_scripts.js"></script>

 <script type="text/javascript" src="http://kibbles.googlecode.com/files/kibbles-1.3.1.comp.js"></script>
 <script type="text/javascript">
 var lastStop = null;
 var initilized = false;
 
 function updateCursor(next, prev) {
 if (prev && prev.element) {
 prev.element.className = 'cursor_stop cursor_hidden';
 }
 if (next && next.element) {
 next.element.className = 'cursor_stop cursor';
 lastStop = next.index;
 }
 }
 
 function pubRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initilized) {
 reloadCursors();
 }
 }
 
 function draftRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initilized) {
 reloadCursors();
 }
 }
 
 function draftDestroyed(data) {
 updateCursorForCell(data.cellId, 'nocursor');
 if (initilized) {
 reloadCursors();
 }
 }
 function reloadCursors() {
 kibbles.skipper.reset();
 loadCursors();
 if (lastStop != null) {
 kibbles.skipper.setCurrentStop(lastStop);
 }
 }
 // possibly the simplest way to insert any newly added comments
 // is to update the class of the corresponding cursor row,
 // then refresh the entire list of rows.
 function updateCursorForCell(cellId, className) {
 var cell = document.getElementById(cellId);
 // we have to go two rows back to find the cursor location
 var row = getPreviousElement(cell.parentNode);
 row.className = className;
 }
 // returns the previous element, ignores text nodes.
 function getPreviousElement(e) {
 var element = e.previousSibling;
 if (element.nodeType == 3) {
 element = element.previousSibling;
 }
 if (element && element.tagName) {
 return element;
 }
 }
 function loadCursors() {
 // register our elements with skipper
 var elements = CR_getElements('*', 'cursor_stop');
 var len = elements.length;
 for (var i = 0; i < len; i++) {
 var element = elements[i]; 
 element.className = 'cursor_stop cursor_hidden';
 kibbles.skipper.append(element);
 }
 }
 function toggleComments() {
 CR_toggleCommentDisplay();
 reloadCursors();
 }
 function keysOnLoadHandler() {
 // setup skipper
 kibbles.skipper.addStopListener(
 kibbles.skipper.LISTENER_TYPE.PRE, updateCursor);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_top', 50);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_bottom', 100);
 // Register our keys
 kibbles.skipper.addFwdKey("n");
 kibbles.skipper.addRevKey("p");
 kibbles.keys.addKeyPressListener(
 'u', function() { window.location = detail_url; });
 kibbles.keys.addKeyPressListener(
 'r', function() { window.location = detail_url + '#publish'; });
 
 kibbles.keys.addKeyPressListener('j', gotoNextPage);
 kibbles.keys.addKeyPressListener('k', gotoPreviousPage);
 
 
 kibbles.keys.addKeyPressListener('h', toggleComments);
 
 }
 window.onload = function() {keysOnLoadHandler();};
 </script>


<!-- code review support -->
<script src="http://www.gstatic.com/codesite/ph/11982002900633812604/js/code_review_scripts.js"></script>
<script type="text/javascript">
 
 // the comment form template
 var form = '<div class="draft"><div class="header"><span class="title">Draft comment:</span></div>' +
 '<div class="body"><form onsubmit="return false;"><textarea id="$ID">$BODY</textarea><br>$ACTIONS</form></div>' +
 '</div>';
 // the comment "plate" template used for both draft and published comment "plates".
 var draft_comment = '<div class="draft" ondblclick="$ONDBLCLICK">' +
 '<div class="header"><span class="title">Draft comment:</span><span class="actions">$ACTIONS</span></div>' +
 '<pre id="$ID" class="body">$BODY</pre>' +
 '</div>';
 var published_comment = '<div class="published">' +
 '<div class="header"><span class="title"><a href="$PROFILE_URL">$AUTHOR:</a></span><div>' +
 '<pre id="$ID" class="body">$BODY</pre>' +
 '</div>';

 function showPublishInstructions() {
 var element = document.getElementById('review_instr');
 if (element) {
 element.className = 'opened';
 }
 }
 function revsOnLoadHandler() {
 // register our source container with the commenting code
 var paths = {'svn3': '/trunk/autoload/lookupfile.vim'}
 CR_setup('', 'p', 'dennisvim', '', 'svn25', paths,
 'e9b75cfde2ab46a71c1ae7bb79c1738d', CR_BrowseIntegrationFactory);
 // register our hidden ui elements with the code commenting code ui builder.
 CR_registerLayoutElement('form', form);
 CR_registerLayoutElement('draft_comment', draft_comment);
 CR_registerLayoutElement('published_comment', published_comment);
 
 // register our source container with the commenting code
 // in this case we're registering the container and the revison
 // associated with the contianer which may be the primary revision
 // or may be a previous revision against which the primary revision
 // of the file is being compared.
 CR_registerSourceContainer(document.getElementById('lines'), 'svn3');
 
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_DRAFT_PLATE, showPublishInstructions);
 
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_PUB_PLATE, pubRevealed);
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_DRAFT_PLATE, draftRevealed);
 CR_registerActivityListener(CR_ACTIVITY_TYPE.DISCARD_DRAFT_COMMENT, draftDestroyed);
 
 
 
 
 
 
 
 
 
 var initilized = true;
 reloadCursors();
 }
 window.onload = function() {keysOnLoadHandler(); revsOnLoadHandler();};
</script>

<script type="text/javascript" src="http://www.gstatic.com/codesite/ph/11982002900633812604/js/dit_scripts_20081013.js"></script>

 
 
 <script type="text/javascript" src="http://www.gstatic.com/codesite/ph/11982002900633812604/js/core_scripts_20081103.js"></script>
 <script type="text/javascript" src="/js/codesite_product_dictionary_ph.pack.04102009.js"></script>
 </div>
<div id="footer" dir="ltr">
 
 <div class="text">
 
 &copy;2010 Google -
 <a href="/projecthosting/terms.html">Terms</a> -
 <a href="http://www.google.com/privacy.html">Privacy</a> -
 <a href="/p/support/">Project Hosting Help</a>
 
 </div>
</div>

 <div class="hostedBy" style="margin-top: -20px;">
 <span style="vertical-align: top;">Powered by <a href="http://code.google.com/projecthosting/">Google Project Hosting</a></span>
 </div>
 
 


 
 </body>
</html>

